diff options
author | Sascha Schumann <sas@php.net> | 2000-05-28 16:22:28 +0000 |
---|---|---|
committer | Sascha Schumann <sas@php.net> | 2000-05-28 16:22:28 +0000 |
commit | 0d9c0616f9bf1441cddadc1ff1e9870d2e1c09e0 (patch) | |
tree | cce0a054e5ab5c5ebf64298a108479f6b8077f4c /ext | |
parent | 9cd4929417a944a4600875db7018159900bee7b3 (diff) | |
download | php-git-0d9c0616f9bf1441cddadc1ff1e9870d2e1c09e0.tar.gz |
Use php_syslog() for system call. On OpenServer 5, syslog is defined to
var_syslog/sys_syslog which causes various problems.
Submitted by: Paul Gardiner <I.T.Manager@barleychalu.co.uk>
Diffstat (limited to 'ext')
-rw-r--r-- | ext/standard/syslog.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/standard/syslog.c b/ext/standard/syslog.c index bcc89be78c..464545367e 100644 --- a/ext/standard/syslog.c +++ b/ext/standard/syslog.c @@ -252,7 +252,7 @@ PHP_FUNCTION(syslog) * this will cause problems. */ - syslog((*priority)->value.lval, (*message)->value.str.val); + php_syslog((*priority)->value.lval, (*message)->value.str.val); RETURN_TRUE; } /* }}} */ |