]> granicus.if.org Git - php/commitdiff
fixed bug: #10960
authorfoobar <sniper@php.net>
Wed, 23 May 2001 00:33:47 +0000 (00:33 +0000)
committerfoobar <sniper@php.net>
Wed, 23 May 2001 00:33:47 +0000 (00:33 +0000)
main/fopen_wrappers.c

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