This commit is contained in:
foobar 2001-05-23 00:33:47 +00:00
parent 915875a667
commit 1567b0dfe0

View File

@ -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
) {