From: foobar Date: Wed, 23 May 2001 03:40:52 +0000 (+0000) Subject: oops.. X-Git-Tag: PRE_GRANULAR_GARBAGE_FIX~271 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=726bd849c000ef2d63de7b77b835096ab6301663;p=php oops.. --- diff --git a/main/fopen_wrappers.c b/main/fopen_wrappers.c index 9d3cfc295e..b8f752a84c 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(open_basedir, ".") == 0) && + if ((strcmp(basedir, ".") == 0) && SG(request_info).path_translated && *SG(request_info).path_translated ) {