Rev 12 | Rev 14 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 12 | Rev 13 | ||
---|---|---|---|
Line 27... | Line 27... | ||
27 | $xxx_directory_need_anti_xss = substr($xxx_directory_need_anti_xss,1); |
27 | $xxx_directory_need_anti_xss = substr($xxx_directory_need_anti_xss,1); |
28 | } |
28 | } |
29 | if (strpos($_SERVER['SCRIPT_FILENAME'], $xxx_directory_need_anti_xss) === 0) { |
29 | if (strpos($_SERVER['SCRIPT_FILENAME'], $xxx_directory_need_anti_xss) === 0) { |
30 | $xxx_go = !$xxx_negate; |
30 | $xxx_go = !$xxx_negate; |
31 | } |
31 | } |
- | 32 | if (strpos($_SERVER['PWD'] ?? '', $xxx_directory_need_anti_xss) === 0) { |
|
- | 33 | $xxx_go = !$xxx_negate; |
|
- | 34 | } |
|
32 | } |
35 | } |
33 | unset($xxx_directories_need_anti_xss); |
36 | unset($xxx_directories_need_anti_xss); |
34 | unset($xxx_directory_need_anti_xss); |
37 | unset($xxx_directory_need_anti_xss); |
35 | 38 | ||
36 | if ($xxx_go) { /* @phpstan-ignore-line */ |
39 | if ($xxx_go) { /* @phpstan-ignore-line */ |