mirror of
https://github.com/php/php-src.git
synced 2024-11-29 12:53:37 +08:00
fixed bug: #10960
This commit is contained in:
parent
915875a667
commit
1567b0dfe0
@ -147,7 +147,7 @@ PHPAPI int php_check_specific_open_basedir(char *basedir, char *path PLS_DC)
|
||||
SLS_FETCH();
|
||||
|
||||
/* Special case basedir==".": Use script-directory */
|
||||
if ((strcmp(PG(open_basedir), ".") == 0) &&
|
||||
if ((strcmp(open_basedir, ".") == 0) &&
|
||||
SG(request_info).path_translated &&
|
||||
*SG(request_info).path_translated
|
||||
) {
|
||||
|
Loading…
Reference in New Issue
Block a user