]> granicus.if.org Git - php/commitdiff
Make css string constant
authorXinchen Hui <laruence@php.net>
Sat, 21 Apr 2012 01:31:00 +0000 (09:31 +0800)
committerXinchen Hui <laruence@php.net>
Sat, 21 Apr 2012 01:31:00 +0000 (09:31 +0800)
sapi/cli/php_cli_server.c

index 105fd60af964ab4ea95311958cbf9f93f2c3c6db..a3ed390508421e41241dcd93eea3df252d4b5d37 100644 (file)
@@ -276,7 +276,7 @@ ZEND_DECLARE_MODULE_GLOBALS(cli_server);
 /* {{{ static char php_cli_server_css[] 
  * copied from ext/standard/info.c
  */
-static char php_cli_server_css[] = "<style type=\"text/css\">\n" \
+static const char php_cli_server_css[] = "<style type=\"text/css\">\n" \
                                                                   "body {background-color: #ffffff; color: #000000;}\n" \
                                                                   "body, td, th, h1, h2 {font-family: sans-serif;}\n" \
                                                                   ".center {text-align: center;}\n" \