svn: /php/php-src/trunk/main/ main.c
| From: | Kalle Sommer Nielsen | Date: | Mon, 14 Dec 2009 10:55:06 +0000 |
| Subject: | svn: /php/php-src/trunk/main/ main.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-61278@lists.php.net to get a copy of this message | ||
kalle Mon, 14 Dec 2009 10:55:06 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=292126
Log:
Change to E_CORE_ERROR as advertised (Fixes #50435) - Patch by arpad@php.net
Bug: http://bugs.php.net/50435 (Open) Fatal error thrown for
removed ini directives isn't fatal
Changed paths:
U php/php-src/trunk/main/main.c
Modified: php/php-src/trunk/main/main.c
===================================================================
--- php/php-src/trunk/main/main.c 2009-12-14 09:51:14 UTC (rev 292125)
+++ php/php-src/trunk/main/main.c 2009-12-14 10:55:06 UTC (rev 292126)
@@ -2083,7 +2083,7 @@
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;
}