mirror of
https://github.com/php/php-src.git
synced 2024-11-29 04:46:07 +08:00
MFB: php_error_docref -> zend_error (MINIT)
This commit is contained in:
parent
7e28c28bf1
commit
3c2f9fd5c0
@ -159,7 +159,7 @@ PHP_MINIT_FUNCTION(browscap)
|
||||
fh.opened_path = NULL;
|
||||
fh.free_filename = 0;
|
||||
if (!fh.handle.fp) {
|
||||
php_error_docref(NULL TSRMLS_CC, E_CORE_WARNING, "Cannot open '%s' for reading", browscap);
|
||||
zend_error(E_CORE_WARNING, "Cannot open '%s' for reading", browscap);
|
||||
return FAILURE;
|
||||
}
|
||||
fh.filename = browscap;
|
||||
|
Loading…
Reference in New Issue
Block a user