Change to E_CORE_ERROR as advertised (Fixes #50435) - Patch by arpad@php.net

This commit is contained in:
Kalle Sommer Nielsen 2009-12-14 10:55:06 +00:00
parent b6ba34df31
commit 5464df7ff4

View File

@ -2083,7 +2083,7 @@ int php_module_startup(sapi_module_struct *sf, zend_module_entry *additional_mod
while (*p) {
if (cfg_get_long((char*)*p, &val) == SUCCESS && val) {
zend_error(E_ERROR, "Directive '%s' no longer exist in PHP 6 and greater", *p);
zend_error(E_CORE_ERROR, "Directive '%s' no longer exists in PHP 6 and greater", *p);
}
++p;
}