From a117369842574218b685fc50f4b636a7d9cb5455 Mon Sep 17 00:00:00 2001 From: aschwarz Date: Wed, 29 Mar 2023 16:34:05 +0200 Subject: [PATCH] Angemeldet bleiben --- dashboard/index.php | 2 +- templates/modern/dashboard/navtop.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 @@