iliaa Wed Jun 28 22:09:09 2006 UTC Modified files: (Branch: PHP_4_4) /php-src/ext/standard basic_functions.c Log: MFH: Improved safe_mode check for the error_log() function. http://cvs.php.net/viewvc.cgi/php-src/ext/standard/basic_functions.c?r1=1.543.2.51.2.9&r2=1.543.2.51.2.10&diff_format=u Index: php-src/ext/standard/basic_functions.c diff -u php-src/ext/standard/basic_functions.c:1.543.2.51.2.9 php-src/ext/standard/basic_functions.c:1.543.2.51.2.10 --- php-src/ext/standard/basic_functions.c:1.543.2.51.2.9 Mon Apr 3 13:46:48 2006 +++ php-src/ext/standard/basic_functions.c Wed Jun 28 22:09:09 2006 @@ -17,7 +17,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: basic_functions.c,v 1.543.2.51.2.9 2006/04/03 13:46:48 iliaa Exp $ */ +/* $Id: basic_functions.c,v 1.543.2.51.2.10 2006/06/28 22:09:09 iliaa Exp $ */ #include "php.h" #include "php_streams.h" @@ -1871,7 +1871,7 @@ break; case 3: /*save to a file */ - stream = php_stream_open_wrapper(opt, "a", IGNORE_URL | ENFORCE_SAFE_MODE | REPORT_ERRORS, NULL); + stream = php_stream_open_wrapper(opt, "a", IGNORE_URL_WIN | ENFORCE_SAFE_MODE | REPORT_ERRORS, NULL); if (!stream) return FAILURE; php_stream_write(stream, message, strlen(message));
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php