From: Kalle Sommer Nielsen Date: Mon, 14 Dec 2009 10:55:06 +0000 (+0000) Subject: Change to E_CORE_ERROR as advertised (Fixes #50435) - Patch by arpad@php.net X-Git-Tag: php-5.4.0alpha1~191^2~2226 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5464df7ff43155e60589aa8cdcdc5ba4c2ceaac9;p=php Change to E_CORE_ERROR as advertised (Fixes #50435) - Patch by arpad@php.net --- diff --git a/main/main.c b/main/main.c index c259db0332..55ebc8074c 100644 --- a/main/main.c +++ b/main/main.c @@ -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; }