cvs: php4(PHP_4_3) /ext/standard info.c

From: Date: Wed, 09 Apr 2003 15:22:45 +0000
Subject: cvs: php4(PHP_4_3) /ext/standard info.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-20195@lists.php.net to get a copy of this message
derick Wed Apr 9 11:22:45 2003 EDT Modified files: (Branch: PHP_4_3) /php4/ext/standard info.c Log: - MFH: html output for Zend Extension version strings Index: php4/ext/standard/info.c diff -u php4/ext/standard/info.c:1.218.2.6 php4/ext/standard/info.c:1.218.2.7 --- php4/ext/standard/info.c:1.218.2.6 Thu Feb 13 11:48:44 2003 +++ php4/ext/standard/info.c Wed Apr 9 11:22:45 2003 @@ -18,7 +18,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: info.c,v 1.218.2.6 2003/02/13 16:48:44 phanto Exp $ */ +/* $Id: info.c,v 1.218.2.7 2003/04/09 15:22:45 derick Exp $ */ #include "php.h" #include "php_ini.h" @@ -515,7 +515,11 @@ } PUTS("This program makes use of the Zend Scripting Language Engine:"); PUTS(PG(html_errors)?"<br />":"\n"); - zend_html_puts(zend_version, strlen(zend_version) TSRMLS_CC); + if (PG(html_errors)) { + zend_html_puts(zend_version, strlen(zend_version) TSRMLS_CC); + } else { + PUTS(zend_version); + } php_info_print_box_end(); efree(php_uname); }

« previous php.cvs (#20195) next »