php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Return to Bug #60179
Patch fpm-bug60179-v2.patch revision 2011-11-03 15:07 UTC by fat@php.net
Patch fpm-bug60179.patch revision 2011-10-31 13:00 UTC by fat@php.net

Patch fpm-bug60179.patch for FPM related Bug #60179

Patch version 2011-10-31 13:00 UTC

Return to Bug #60179 | Download this patch
This patch is obsolete

Obsoleted by patches:

Patch Revisions:

Developer: fat@php.net

Index: fpm_conf.c
===================================================================
--- fpm_conf.c	(revision 318604)
+++ fpm_conf.c	(working copy)
@@ -1343,20 +1343,10 @@
 		err = fpm_conf_set_array(key, value, &config, 0);
 
 	} else if (!strcmp("php_value", Z_STRVAL_P(name))) {
-		if (!*Z_STRVAL_P(value)) {
-			zlog(ZLOG_ERROR, "[%s:%d] empty value", ini_filename, ini_lineno);
-			*error = 1;
-			return;
-		}
 		config = (char *)current_wp->config + WPO(php_values);
 		err = fpm_conf_set_array(key, value, &config, 0);
 
 	} else if (!strcmp("php_admin_value", Z_STRVAL_P(name))) {
-		if (!*Z_STRVAL_P(value)) {
-			zlog(ZLOG_ERROR, "[%s:%d] empty value", ini_filename, ini_lineno);
-			*error = 1;
-			return;
-		}
 		config = (char *)current_wp->config + WPO(php_admin_values);
 		err = fpm_conf_set_array(key, value, &config, 0);
 
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Nov 21 11:01:29 2024 UTC