File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff 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 ' )) {
You can’t perform that action at this time.
0 commit comments