tmp: to test REST api with permissions

This commit is contained in:
xdrm-brackets 2017-11-23 12:57:49 +01:00
parent a6cfd218d6
commit c23ddb0420
1 changed files with 2 additions and 0 deletions

View File

@ -2,5 +2,7 @@
use \router\core\Router; use \router\core\Router;
session_start();
$_SESSION['PERM'] = ['journalist'];
$MainRouter = Router::launch($_GET['url']); $MainRouter = Router::launch($_GET['url']);