diff options
author | Ilia Alshanetsky <iliaa@php.net> | 2006-06-28 22:09:09 +0000 |
---|---|---|
committer | Ilia Alshanetsky <iliaa@php.net> | 2006-06-28 22:09:09 +0000 |
commit | 3072d1bb2b85e332337f391c8ff71e270e639edc (patch) | |
tree | ca76d95f5435444cff622e96e6c03cb113c73b12 | |
parent | b2f943dea35c4da222d86a51306be1b6abfa129d (diff) | |
download | php-git-3072d1bb2b85e332337f391c8ff71e270e639edc.tar.gz |
MFH: Improved safe_mode check for the error_log() function.
-rw-r--r-- | ext/standard/basic_functions.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/standard/basic_functions.c b/ext/standard/basic_functions.c index 922636e8a2..ee60fb70a4 100644 --- a/ext/standard/basic_functions.c +++ b/ext/standard/basic_functions.c @@ -1871,7 +1871,7 @@ PHPAPI int _php_error_log(int opt_err, char *message, char *opt, char *headers T 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)); |