php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Return to Bug #62700
Patch prepend-http-protocol-to-localhost revision 2012-07-31 09:23 UTC by pascal dot chevrel at free dot fr

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);
 	}
 
PHP Copyright © 2001-2014 The PHP Group
All rights reserved.
Last updated: Wed Apr 23 09:02:23 2014 UTC