diff --git a/dashboard/index.php b/dashboard/index.php index 24ee2ad..1a1ef48 100644 --- a/dashboard/index.php +++ b/dashboard/index.php @@ -7,7 +7,7 @@ if (!isset($_SESSION)) { include_once '../classes/TestProjektSmarty.class_subdir.php'; require_once("../config.inc.php"); $smarty = new SmartyAdmin(); -if(!rechte(basename(__FILE__), $uid)){ +if(!rechte('__noright__', $uid)){ echo ""; exit; } diff --git a/templates/modern/dashboard/navtop.html b/templates/modern/dashboard/navtop.html index 122b088..eef15a8 100644 --- a/templates/modern/dashboard/navtop.html +++ b/templates/modern/dashboard/navtop.html @@ -18,7 +18,7 @@