From 63e6666216d980a0f5278c70f8af42f8ed0a807e Mon Sep 17 00:00:00 2001 From: Rasmus Lerdorf Date: Sat, 11 May 2002 19:58:40 +0000 Subject: [PATCH] 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) --- main/fopen_wrappers.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } /* }}} */ -- 2.50.1