]> granicus.if.org Git - php/commitdiff
Reapply this one, too.
authorMarcus Boerger <helly@php.net>
Sat, 31 May 2003 02:31:10 +0000 (02:31 +0000)
committerMarcus Boerger <helly@php.net>
Sat, 31 May 2003 02:31:10 +0000 (02:31 +0000)
sapi/cli/php_cli.c

index 4bfb274e4209f777be1d54d2a9fe2d59252fff73..11365dff7809a9516720fb1bd061b86b66e89051 100644 (file)
@@ -634,7 +634,11 @@ int main(int argc, char *argv[])
                                if (php_request_startup(TSRMLS_C)==FAILURE) {
                                        goto err;
                                }
+#if ZEND_DEBUG
+                               php_printf("PHP %s (%s) (built: %s %s) (DEBUG)\nCopyright (c) 1997-2003 The PHP Group\n%s", PHP_VERSION, sapi_module.name, __DATE__, __TIME__, get_zend_version());
+#else
                                php_printf("PHP %s (%s) (built: %s %s)\nCopyright (c) 1997-2003 The PHP Group\n%s", PHP_VERSION, sapi_module.name, __DATE__, __TIME__, get_zend_version());
+#endif
                                php_end_ob_buffers(1 TSRMLS_CC);
                                exit_status=1;
                                goto out;