diff options
author | vincent-peugnet <v.peugnet@free.fr> | 2018-11-22 00:09:55 +0100 |
---|---|---|
committer | vincent-peugnet <v.peugnet@free.fr> | 2018-11-22 00:09:55 +0100 |
commit | d46c05b12b9dcd65d2d9cd230bf45b5bdf6fa8bd (patch) | |
tree | d763a0488fa3055a1a75b2d669744fcb8526ab92 /app/class/controller.php | |
parent | 47689d1fdfb2c33ee5e00cfe9fe529d6ba3529db (diff) | |
download | wcms-d46c05b12b9dcd65d2d9cd230bf45b5bdf6fa8bd.tar.gz wcms-d46c05b12b9dcd65d2d9cd230bf45b5bdf6fa8bd.zip |
linkfrom analyse
Diffstat (limited to 'app/class/controller.php')
-rw-r--r-- | app/class/controller.php | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/app/class/controller.php b/app/class/controller.php index c722b1a..b0681bb 100644 --- a/app/class/controller.php +++ b/app/class/controller.php @@ -31,18 +31,6 @@ class Controller return $router->generate($string, ['art' => $id]); }); } - - public function useriseditor() - { - if ($this->user->level() >= $this->usermanager::EDITOR) { - echo '<h3>Editor access</h3>'; - return true; - } else { - echo '<h3>Not enought rights to see more...</h3>'; - return false; - } - } - public function showtemplate($template, $params) { @@ -62,6 +50,7 @@ class Controller + public function redirect($url) { header('Location: ' . $url); |