From: Rasmus Lerdorf Date: Sat, 11 May 2002 19:58:40 +0000 (+0000) Subject: MTH - thought the code was slightly different in HEAD because of the X-Git-Tag: php-4.3.0dev-ZendEngine2-Preview1~113 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=63e6666216d980a0f5278c70f8af42f8ed0a807e;p=php MTH - thought the code was slightly different in HEAD because of the streams stuff, but it is exactly the same bug. @ Safe-mode fix related to the safe_mode_include_dir feature (Rasmus) --- diff --git a/main/fopen_wrappers.c b/main/fopen_wrappers.c index 9bbd126571..a4c3ca4f9b 100644 --- a/main/fopen_wrappers.c +++ b/main/fopen_wrappers.c @@ -219,7 +219,7 @@ PHPAPI int php_check_safe_mode_include_dir(char *path TSRMLS_DC) } /* Nothing to check... */ - return 0; + return -1; } /* }}} */