iliaa Wed Jun 28 22:08:59 2006 UTC
Modified files: (Branch: PHP_5_1)
/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.725.2.31&r2=1.725.2.32&diff_format=u
Index: php-src/ext/standard/basic_functions.c
diff -u php-src/ext/standard/basic_functions.c:1.725.2.31
php-src/ext/standard/basic_functions.c:1.725.2.32
--- php-src/ext/standard/basic_functions.c:1.725.2.31 Mon Apr 3 13:46:11 2006
+++ php-src/ext/standard/basic_functions.c Wed Jun 28 22:08:59 2006
@@ -17,7 +17,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: basic_functions.c,v 1.725.2.31 2006/04/03 13:46:11 iliaa Exp $ */
+/* $Id: basic_functions.c,v 1.725.2.32 2006/06/28 22:08:59 iliaa Exp $ */
#include "php.h"
#include "php_streams.h"
@@ -2034,7 +2034,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