tmp: public.index (clean index for now)

This commit is contained in:
xdrm-brackets 2017-11-26 14:45:14 +01:00
parent e1a0a829f0
commit 3fe0b7590a
1 changed files with 1 additions and 2 deletions

View File

@ -8,7 +8,7 @@
/* (1) Start session */ /* (1) Start session */
session_start(); session_start();
$_SESSION['PERM'] = ['journalist']; // $_SESSION['PERM'] = ['journalist'];
/* (2) Set default Driver for Repos */ /* (2) Set default Driver for Repos */
Repo::setDriver(DatabaseDriver::get()); Repo::setDriver(DatabaseDriver::get());
@ -17,6 +17,5 @@
Request::setAuthSystem(new AuthSystemDefault); Request::setAuthSystem(new AuthSystemDefault);
/* (4) launch router */ /* (4) launch router */
echo "<pre>";
$MainRouter = Router::launch($_GET['url']); $MainRouter = Router::launch($_GET['url']);