SMMP/public_html/test/authTest.php

13 lines
227 B
PHP
Executable File

<?php define('__ROOT__', dirname(dirname(__FILE__)) );
require_once __ROOT__.'/autoloader.php';
use \api\core\Authentification;
use \database\core\Repo;
var_dump( Authentification::auth() );
var_dump( $_SESSION );
?>