Angemeldet bleiben

This commit is contained in:
aschwarz
2023-03-29 16:34:05 +02:00
parent 670599777b
commit a117369842
2 changed files with 2 additions and 2 deletions

View File

@ -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 "<meta http-equiv=\"refresh\" content=\"0; URL=error.php\">";
exit;
}