12 lines
146 B
PHP
12 lines
146 B
PHP
<?php
|
|
|
|
require '../header.php';
|
|
|
|
require_login();
|
|
|
|
$data = $_SESSION;
|
|
|
|
header('Content-Type: application/json');
|
|
echo json_encode($data);
|
|
exit();
|