Rollenkonzept verbessert

This commit is contained in:
aschwarz
2023-09-19 13:21:36 +02:00
parent 2313b67545
commit d86dcf1dfe
15 changed files with 33 additions and 4 deletions

View File

@ -6,7 +6,7 @@ include_once '../classes/TestProjektSmarty.class_subdir.php';
require_once("../config.inc.php");
$templatename = substr(basename($_SERVER['PHP_SELF']), 0, -3) . "html";
$smarty = new SmartyAdmin();
if(!rechte('rollen.php', $uid)){
if(!rechte('notenbuch.php', $uid)){
echo "<meta http-equiv=\"refresh\" content=\"0; URL=error.php\">";
exit;
}