Skip to content

Commit e4b4476

Browse files
author
Till Brehm
committed
Update interface/lib/classes/ids.inc.php
1 parent 2b219a7 commit e4b4476

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

interface/lib/classes/ids.inc.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ public function start()
7777
$line = trim($line);
7878
if(substr($line,0,1) != '#') {
7979
list($user,$path,$varname) = explode(':',$line);
80-
if($current_script_name == $path) {
80+
if($current_script_name == $path || $path == '*') {
8181
if($user = 'any'
8282
|| ($user == 'user' && ($_SESSION['s']['user']['typ'] == 'user' || $_SESSION['s']['user']['typ'] == 'admin'))
8383
|| ($user == 'admin' && $_SESSION['s']['user']['typ'] == 'admin')) {
@@ -100,7 +100,7 @@ public function start()
100100
$line = trim($line);
101101
if(substr($line,0,1) != '#') {
102102
list($user,$path,$varname) = explode(':',$line);
103-
if($current_script_name == $path) {
103+
if($current_script_name == $path || $path == '*') {
104104
if($user = 'any'
105105
|| ($user == 'user' && ($_SESSION['s']['user']['typ'] == 'user' || $_SESSION['s']['user']['typ'] == 'admin'))
106106
|| ($user == 'admin' && $_SESSION['s']['user']['typ'] == 'admin')) {

0 commit comments

Comments
 (0)