summaryrefslogtreecommitdiff
path: root/includes/UserCVS.php
diff options
context:
space:
mode:
Diffstat (limited to 'includes/UserCVS.php')
-rw-r--r--includes/UserCVS.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/includes/UserCVS.php b/includes/UserCVS.php
index 7798ee66..c062106f 100644
--- a/includes/UserCVS.php
+++ b/includes/UserCVS.php
@@ -20,13 +20,14 @@
}
// pagename ermitteln
- $Page["Name"] = basename($_SERVER['PHP_SELF']);
+ //$Page["Name"] = basename($_SERVER['PHP_SELF']);
+ $Page["Name"] = str_replace($ENGEL_ROOT, '', $_SERVER['PHP_SELF']);
//recht fuer diese seite auslesen
if(isset($_SESSION['CVS'][$Page["Name"]]))
$Page["CVS"] = $_SESSION['CVS'][$Page["Name"]];
else {
- echo "SYSTEM ERROR: now right for " . $Page["Name"] . " exists.";
+ echo "SYSTEM ERROR: no right for " . $Page["Name"] . " exists.";
die;
}