File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -246,7 +246,7 @@ static php_cli_server_http_reponse_status_code_pair status_map[] = {
246
246
247
247
static php_cli_server_http_reponse_status_code_pair template_map [] = {
248
248
{ 400 , "<h1>%s</h1><p>Your browser sent a request that this server could not understand.</p>" },
249
- { 404 , "<h1>%s</h1><p>The requested resource %s was not found on this server.</p>" },
249
+ { 404 , "<h1>%s</h1><p>The requested resource <code class=\"url\">%s</code> was not found on this server.</p>" },
250
250
{ 500 , "<h1>%s</h1><p>The server is temporarily unavailable.</p>" },
251
251
{ 501 , "<h1>%s</h1><p>Request method not supported.</p>" }
252
252
};
@@ -283,8 +283,10 @@ ZEND_DECLARE_MODULE_GLOBALS(cli_server);
283
283
* copied from ext/standard/info.c
284
284
*/
285
285
static const char php_cli_server_css [] = "<style>\n" \
286
- "body { background-color: #ffffff; color: #000000; }\n" \
287
- "h1 { font-family: sans-serif; font-size: 150%; background-color: #9999cc; font-weight: bold; color: #000000; margin-top: 0;}\n" \
286
+ "body { background-color: #fcfcfc; color: #333333; margin: 0; padding:0; }\n" \
287
+ "h1 { font-size: 1.5em; font-weight: normal; background-color: #9999cc; min-height:2em; line-height:2em; border-bottom: 1px inset black; margin: 0; }\n" \
288
+ "h1, p { padding-left: 10px; }\n" \
289
+ "code.url { background-color: #eeeeee; font-family:monospace; padding:0 2px;}\n" \
288
290
"</style>\n" ;
289
291
/* }}} */
290
292
You can’t perform that action at this time.
0 commit comments