diff --git a/interface/lib/classes/ids.inc.php b/interface/lib/classes/ids.inc.php index 6d197264178f05c533a5e5dfa1049e95e39ddcc4..ffa24a294e75ca7d1988bc822f387bdc79273340 100644 --- a/interface/lib/classes/ids.inc.php +++ b/interface/lib/classes/ids.inc.php @@ -77,7 +77,7 @@ class ids { $line = trim($line); if(substr($line,0,1) != '#') { list($user,$path,$varname) = explode(':',$line); - if($current_script_name == $path) { + if($current_script_name == $path || $path == '*') { if($user = 'any' || ($user == 'user' && ($_SESSION['s']['user']['typ'] == 'user' || $_SESSION['s']['user']['typ'] == 'admin')) || ($user == 'admin' && $_SESSION['s']['user']['typ'] == 'admin')) { @@ -100,7 +100,7 @@ class ids { $line = trim($line); if(substr($line,0,1) != '#') { list($user,$path,$varname) = explode(':',$line); - if($current_script_name == $path) { + if($current_script_name == $path || $path == '*') { if($user = 'any' || ($user == 'user' && ($_SESSION['s']['user']['typ'] == 'user' || $_SESSION['s']['user']['typ'] == 'admin')) || ($user == 'admin' && $_SESSION['s']['user']['typ'] == 'admin')) {