cvs: php-src(PHP_5_2) / NEWS /ext/standard info.c
| From: | Ilia Alshanetsky | Date: | Sun, 26 Nov 2006 16:26:19 +0000 |
| Subject: | cvs: php-src(PHP_5_2) / NEWS /ext/standard info.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-41734@lists.php.net to get a copy of this message | ||
iliaa Sun Nov 26 16:26:19 2006 UTC
Modified files: (Branch: PHP_5_2)
/php-src/ext/standard info.c
/php-src NEWS
Log:
Added a meta tag to phpinfo() output to prevent search engines from
indexing the page.
http://cvs.php.net/viewvc.cgi/php-src/ext/standard/info.c?r1=1.249.2.10.2.6&r2=1.249.2.10.2.7&diff_format=u
Index: php-src/ext/standard/info.c
diff -u php-src/ext/standard/info.c:1.249.2.10.2.6 php-src/ext/standard/info.c:1.249.2.10.2.7
--- php-src/ext/standard/info.c:1.249.2.10.2.6 Thu Sep 14 08:01:48 2006
+++ php-src/ext/standard/info.c Sun Nov 26 16:26:18 2006
@@ -18,7 +18,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: info.c,v 1.249.2.10.2.6 2006/09/14 08:01:48 dmitry Exp $ */
+/* $Id: info.c,v 1.249.2.10.2.7 2006/11/26 16:26:18 iliaa Exp $ */
#include "php.h"
#include "php_ini.h"
@@ -380,6 +380,7 @@
PUTS("<head>\n");
php_info_print_style(TSRMLS_C);
PUTS("<title>phpinfo()</title>");
+ PUTS("<meta name=\"ROBOTS\" content=\"NOINDEX,NOFOLLOW,NOARCHIVE\"
/>");
/*
php_printf("<meta http-equiv=\"Content-Type\" content=\"text/html;
charset=%s\" />\n", charset);
*/
http://cvs.php.net/viewvc.cgi/php-src/NEWS?r1=1.2027.2.547.2.376&r2=1.2027.2.547.2.377&diff_format=u
Index: php-src/NEWS
diff -u php-src/NEWS:1.2027.2.547.2.376 php-src/NEWS:1.2027.2.547.2.377
--- php-src/NEWS:1.2027.2.547.2.376 Fri Nov 24 21:59:09 2006
+++ php-src/NEWS Sun Nov 26 16:26:18 2006
@@ -1,6 +1,8 @@
PHP NEWS
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
?? ??? 2007, PHP 5.2.1
+- Added a meta tag to phpinfo() output to prevent search engines from indexing
+ the page. (Ilia)
- Added missing object support to file_put_contents(). (Ilia)
- Updated bundled libcURL to version 7.16.0 in the Windows distro. (Edin)
- cgi.* and fastcgi.* directives are moved to INI subsystem.