summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorColin Viebrock <cmv@php.net>2000-04-05 21:03:30 +0000
committerColin Viebrock <cmv@php.net>2000-04-05 21:03:30 +0000
commitf57d8a2c2582d9d4792a600bd134b66dd4abd44a (patch)
tree8c26f7aab614d366cb4012dac4dd7c5c8384da30
parent1e344cf0103b9b388c7ca7298efa2fe4dbfae342 (diff)
downloadphp-git-f57d8a2c2582d9d4792a600bd134b66dd4abd44a.tar.gz
finally (thanks Andreas)
-rw-r--r--ext/standard/info.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/ext/standard/info.c b/ext/standard/info.c
index 429d0c1187..f980bec01a 100644
--- a/ext/standard/info.c
+++ b/ext/standard/info.c
@@ -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 );