Rollenkonzept verbessert
This commit is contained in:
@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user