Fehlerbereinigungen

This commit is contained in:
aschwarz
2023-03-28 19:02:02 +02:00
parent 797310c5ff
commit a675b295e7
10 changed files with 51 additions and 30 deletions

View File

@ -11,7 +11,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(basename(__FILE__), $uid)){
if(!rechte('__noright__', $uid)){
echo "<meta http-equiv=\"refresh\" content=\"0; URL=error.php\">";
exit;
}