From c23ddb042063b0822c88b71332736437dcfd2f0f Mon Sep 17 00:00:00 2001 From: xdrm-brackets Date: Thu, 23 Nov 2017 12:57:49 +0100 Subject: [PATCH] tmp: to test REST api with permissions --- public_html/index.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/public_html/index.php b/public_html/index.php index 7ecd706..0f63ce9 100755 --- a/public_html/index.php +++ b/public_html/index.php @@ -2,5 +2,7 @@ use \router\core\Router; + session_start(); + $_SESSION['PERM'] = ['journalist']; $MainRouter = Router::launch($_GET['url']);