]> granicus.if.org Git - php/commitdiff
oops..
authorfoobar <sniper@php.net>
Wed, 23 May 2001 03:40:52 +0000 (03:40 +0000)
committerfoobar <sniper@php.net>
Wed, 23 May 2001 03:40:52 +0000 (03:40 +0000)
main/fopen_wrappers.c

index 9d3cfc295e3cc12849134e3ba747dba6f0685d5c..b8f752a84cbd7883b1c8fe26493503e4e8f6e6ef 100644 (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(open_basedir, ".") == 0) && 
+       if ((strcmp(basedir, ".") == 0) && 
                SG(request_info).path_translated &&
                *SG(request_info).path_translated
                ) {