From: foobar Date: Wed, 23 May 2001 00:33:47 +0000 (+0000) Subject: fixed bug: #10960 X-Git-Tag: PRE_GRANULAR_GARBAGE_FIX~276 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=1567b0dfe0e32f39b501f4b16fa4ca2d68311a88;p=php fixed bug: #10960 --- diff --git a/main/fopen_wrappers.c b/main/fopen_wrappers.c index 217d35abd9..9d3cfc295e 100644 --- a/main/fopen_wrappers.c +++ b/main/fopen_wrappers.c @@ -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 ) {