diff options
author | Andi Gutmans <andi@php.net> | 2000-03-30 22:41:13 +0000 |
---|---|---|
committer | Andi Gutmans <andi@php.net> | 2000-03-30 22:41:13 +0000 |
commit | 9df7df3293302198a29b1657682dba49ce02aa6b (patch) | |
tree | 054ac1524387e60e5e591f5ddc9b84f80575c4ff /main/main.c | |
parent | 72b57c66f096e1a16e865de808296bfffbf3c41b (diff) | |
download | php-git-9df7df3293302198a29b1657682dba49ce02aa6b.tar.gz |
- Baby steps... Use PHP_FOPEN()
Diffstat (limited to 'main/main.c')
-rw-r--r-- | main/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/main/main.c b/main/main.c index 435eb43762..06d208ec61 100644 --- a/main/main.c +++ b/main/main.c @@ -250,7 +250,7 @@ void php_log_err(char *log_message) return; } #endif - log_file = fopen(PG(error_log), "a"); + log_file = PHP_FOPEN(PG(error_log), "a"); if (log_file != NULL) { time(&error_time); strftime(error_time_str, 128, "%d-%b-%Y %H:%M:%S", localtime_r(&error_time, &tmbuf)); |