]> granicus.if.org Git - php/commitdiff
MTH - thought the code was slightly different in HEAD because of the
authorRasmus Lerdorf <rasmus@php.net>
Sat, 11 May 2002 19:58:40 +0000 (19:58 +0000)
committerRasmus Lerdorf <rasmus@php.net>
Sat, 11 May 2002 19:58:40 +0000 (19:58 +0000)
streams stuff, but it is exactly the same bug.
@ Safe-mode fix related to the safe_mode_include_dir feature (Rasmus)

main/fopen_wrappers.c

index 9bbd126571b13139c7e1ec794d82b24851b8032b..a4c3ca4f9b21ef7b63642673e1eb694187950f5c 100644 (file)
@@ -219,7 +219,7 @@ PHPAPI int php_check_safe_mode_include_dir(char *path TSRMLS_DC)
        }
 
        /* Nothing to check... */
-       return 0;
+       return -1;
 }
 /* }}} */