mirror of
https://github.com/php/php-src.git
synced 2024-11-29 04:46:07 +08:00
oops..
This commit is contained in:
parent
17e5edbf18
commit
726bd849c0
@ -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(open_basedir, ".") == 0) &&
|
||||
if ((strcmp(basedir, ".") == 0) &&
|
||||
SG(request_info).path_translated &&
|
||||
*SG(request_info).path_translated
|
||||
) {
|
||||
|
Loading…
Reference in New Issue
Block a user