Re: php_ini.c.diff

From: Date: Thu, 01 Nov 2001 09:48:07 +0000
Subject: Re: php_ini.c.diff
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-69462@lists.php.net to get a copy of this message
Can you commit it? At 01:40 31/10/2001, Yasuo Ohgaki wrote:
This patch fixes small phpinfo() problem. Current phpinfo() does not display values properly, if - value is string AND - value is not set in php.ini AND - value is modified by other places such as .htaccess, httpd.conf, etc. (It supposed to print "no value", but it doesn't. With mozilla, orig_value cell is rendered as black box.) -- Yasuo Ohgaki Index: php_ini.c =================================================================== RCS file: /repository/php4/main/php_ini.c,v retrieving revision 1.74 diff -u
-r1.74 php_ini.c --- php_ini.c        6 Oct 2001 20:13:38 -0000       1.74 +++ php_ini.c      30 Oct 2001 08:34:31 -0000 @@ -50,7 +50,7 @@            uint display_string_length, esc_html=0;                 if (type==ZEND_INI_DISPLAY_ORIG && ini_entry->modified) { -                     if (ini_entry->orig_value) { +                  if (ini_entry->orig_value && ini_entry->orig_value[0]) {                                display_string = ini_entry->orig_value; display_string_length = ini_entry->orig_value_length;                           esc_html=1--
PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe@lists.php.net For additional commands, e-mail: php-dev-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net


« previous php.dev (#69462) next »