MFB: php_error_docref -> zend_error (MINIT)

This commit is contained in:
foobar 2003-05-27 17:24:59 +00:00
parent 7e28c28bf1
commit 3c2f9fd5c0

View File

@ -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;