Patch prepend-http-protocol-to-localhost for Built-in web server Bug #62700
Patch version 2012-07-31 09:23 UTC
Return to Bug #62700 |
Download this patch
Patch Revisions:
Developer: pascal.chevrel@free.fr
diff --git a/sapi/cli/php_cli_server.c b/sapi/cli/php_cli_server.c
index 02f8854..16413a6 100644
--- a/sapi/cli/php_cli_server.c
+++ b/sapi/cli/php_cli_server.c
@@ -2408,7 +2408,7 @@ int do_cli_server(int argc, char **argv TSRMLS_DC) /* {{{ */
php_asctime_r(&tm, buf);
printf("PHP %s Development Server started at %s"
"Listening on %s\n"
- "Document root is %s\n"
+ "Document root is http://%s\n"
"Press Ctrl-C to quit.\n",
PHP_VERSION, buf, server_bind_address, document_root);
}
|