]> granicus.if.org Git - php/commitdiff
finally (thanks Andreas)
authorColin Viebrock <cmv@php.net>
Wed, 5 Apr 2000 21:03:30 +0000 (21:03 +0000)
committerColin Viebrock <cmv@php.net>
Wed, 5 Apr 2000 21:03:30 +0000 (21:03 +0000)
ext/standard/info.c

index 429d0c1187573b5f9050c47d8f73080ee37a1a64..f980bec01addcd9120b905d5a6be518c9d3f5d64 100644 (file)
@@ -169,9 +169,11 @@ PHPAPI void php_print_info(int flag)
 #endif
                php_info_print_table_row(2, "php.ini Path", CONFIGURATION_FILE_PATH );
 
-/* this causes seg faults
-               php_info_print_table_row(2, "ZEND_DEBUG", ZEND_DEBUG );
-*/
+#ifdef ZEND_DEBUG
+               php_info_print_table_row(2, "ZEND_DEBUG", "true" );
+#else
+               php_info_print_table_row(2, "ZEND_DEBUG", "false" );
+#endif
 
                if (sapi_module.name)
                        php_info_print_table_row(2, "SAPI", sapi_module.name );