iliaa Wed Jun 28 22:08:43 2006 UTC Modified files: (Branch: PHP_5_2) /php-src NEWS /php-src/ext/standard basic_functions.c Log: Improved safe_mode check for the error_log() function. http://cvs.php.net/viewvc.cgi/php-src/NEWS?r1=1.2027.2.547.2.99&r2=1.2027.2.547.2.100&diff_format=u Index: php-src/NEWS diff -u php-src/NEWS:1.2027.2.547.2.99 php-src/NEWS:1.2027.2.547.2.100 --- php-src/NEWS:1.2027.2.547.2.99 Wed Jun 28 15:04:28 2006 +++ php-src/NEWS Wed Jun 28 22:08:42 2006 @@ -6,6 +6,7 @@ - Changed realpath cache to be disabled when "open_basedir" or "safe_mode" are enabled on per-request basis. (Ilia) +- Improved safe_mode check for the error_log() function. (Ilia) - Improved the error reporting in SOAP extension on request failure. (Ilia) - New crypt() implementation for win32 which is about 10 times faster and has more friendly license. (Frank, Dmitry) http://cvs.php.net/viewvc.cgi/php-src/ext/standard/basic_functions.c?r1=1.725.2.31.2.12&r2=1.725.2.31.2.13&diff_format=u Index: php-src/ext/standard/basic_functions.c diff -u php-src/ext/standard/basic_functions.c:1.725.2.31.2.12 php-src/ext/standard/basic_functions.c:1.725.2.31.2.13 --- php-src/ext/standard/basic_functions.c:1.725.2.31.2.12 Tue Jun 27 22:14:18 2006 +++ php-src/ext/standard/basic_functions.c Wed Jun 28 22:08:42 2006 @@ -17,7 +17,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: basic_functions.c,v 1.725.2.31.2.12 2006/06/27 22:14:18 bjori Exp $ */ +/* $Id: basic_functions.c,v 1.725.2.31.2.13 2006/06/28 22:08:42 iliaa Exp $ */ #include "php.h" #include "php_streams.h" @@ -4936,7 +4936,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