tmp: to test REST api with permissions
This commit is contained in:
parent
a6cfd218d6
commit
c23ddb0420
|
@ -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']);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue