13 lines
294 B
PHP
13 lines
294 B
PHP
|
<?php define('__ROOT__', dirname(dirname(__FILE__)) );
|
||
|
require_once __ROOT__.'/manager/autoloader.php';
|
||
|
|
||
|
debug();
|
||
|
|
||
|
|
||
|
// DEFAULT SESSION CREDENTIALS
|
||
|
echo '{"data1": "'.session_id().'",';
|
||
|
echo '"data2": "'. ( $_SESSION['session_token']==$_COOKIE['session_token'] ? 'YES' : 'NO' ). '"}';
|
||
|
|
||
|
|
||
|
?>
|