diff options
| author | Ilia Alshanetsky <iliaa@php.net> | 2006-06-28 22:08:42 +0000 |
|---|---|---|
| committer | Ilia Alshanetsky <iliaa@php.net> | 2006-06-28 22:08:42 +0000 |
| commit | 24ac7931cddd08ce8687c72dc7d9aee4dd68b7aa (patch) | |
| tree | 1cb494fe256cc8cef863a38575f994fcb83580d0 /ext | |
| parent | 5ca11825d1b195cfed401748f1ee9f2a27ad81ca (diff) | |
| download | php-git-24ac7931cddd08ce8687c72dc7d9aee4dd68b7aa.tar.gz | |
Improved safe_mode check for the error_log() function.
Diffstat (limited to 'ext')
| -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 7d463283aa..56d0c8277c 100644 --- a/ext/standard/basic_functions.c +++ b/ext/standard/basic_functions.c @@ -4936,7 +4936,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)); |
