]> granicus.if.org Git - php/commitdiff
Change to E_CORE_ERROR as advertised (Fixes #50435) - Patch by arpad@php.net
authorKalle Sommer Nielsen <kalle@php.net>
Mon, 14 Dec 2009 10:55:06 +0000 (10:55 +0000)
committerKalle Sommer Nielsen <kalle@php.net>
Mon, 14 Dec 2009 10:55:06 +0000 (10:55 +0000)
main/main.c

index c259db0332043ec2d5d23a5e6f65e424fa68d1ca..55ebc8074cf9a857450fed5874f5331ef82c6bfd 100644 (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;
                }