Re: com php-src: Make css string constant: sapi/cli/php_cli_server.c
| From: | Nuno Lopes | Date: | Sat, 21 Apr 2012 09:52:59 +0000 |
| Subject: | Re: com php-src: Make css string constant: sapi/cli/php_cli_server.c | ||
| References: | 1 | Groups: | php.cvs |
| Request: | Send a blank email to php-cvs+get-68849@lists.php.net to get a copy of this message | ||
Thanks!
Nuno
----- Original Message ----- From: "Xinchen Hui" <laruence@php.net>
To: <php-cvs@lists.php.net>
Sent: Saturday, April 21, 2012 2:31 AM
Subject: [PHP-CVS] com php-src: Make css string constant: sapi/cli/php_cli_server.c
Commit: b999e91f5bd0f366d67f18badc02c910729e8a08 Author: Xinchen Hui <laruence@php.net> Sat, 21 Apr 2012 09:31:00 +0800Parents: da85337d13075885f165eeed820181be20d397b9 Branches: PHP-5.4 Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=b999e91f5bd0f366d67f18badc02c910729e8a08 Log: Make css string constant Changed paths: M sapi/cli/php_cli_server.c Diff: diff --git a/sapi/cli/php_cli_server.c b/sapi/cli/php_cli_server.c index 105fd60..a3ed390 100644 --- a/sapi/cli/php_cli_server.c +++ b/sapi/cli/php_cli_server.c @@ -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" \
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php