svn: /web/php/trunk/ error.php
| From: | Philip Olson | Date: | Wed, 28 Dec 2011 19:05:28 +0000 |
| Subject: | svn: /web/php/trunk/ error.php | ||
| Groups: | php.webmaster | ||
| Request: | Send a blank email to php-webmaster+get-12699@lists.php.net to get a copy of this message | ||
philip Wed, 28 Dec 2011 19:05:28 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=321485
Log:
Disabled the referer tracker. The 404 distributions problem remains a mystery.
Changed paths:
U web/php/trunk/error.php
Modified: web/php/trunk/error.php
===================================================================
--- web/php/trunk/error.php 2011-12-28 18:52:39 UTC (rev 321484)
+++ web/php/trunk/error.php 2011-12-28 19:05:28 UTC (rev 321485)
@@ -122,9 +122,9 @@
// send them to the /releases page since that is likely to be most helpful.
if (preg_match("!^distributions/.*!", $URI, $array)) {
// Debug: Logging referrers to www.php.net temporarily
- if(!empty($_SERVER['HTTP_REFERER'])) {
- file_get_contents("http://www.php.net/track_ref.php?url=".$_SERVER['SERVER_NAME'].'/'.urlencode($URI).'&ref='.urlencode($_SERVER['HTTP_REFERER']));
- }
+ // if(!empty($_SERVER['HTTP_REFERER'])) {
+ // file_get_contents("http://www.php.net/track_ref.php?url=".$_SERVER['SERVER_NAME'].'/'.urlencode($URI).'&ref='.urlencode($_SERVER['HTTP_REFERER']));
+ // }
mirror_redirect("/releases/");
}