Commit:    4df6d17ccf31c3d8810ed755ba978c2061eb5604
Author:    Adam Harvey <[email protected]>         Thu, 3 Jul 2014 09:50:16 -0700
Parents:   d89cf4ec47214e5d2494ced23a732a8861695360
Branches:  master

Link:       
http://git.php.net/?p=web/php.git;a=commitdiff;h=4df6d17ccf31c3d8810ed755ba978c2061eb5604

Log:
Revert "Attempt to fix the php.net cross-domain issues once and for all."

This reverts commit d89cf4ec47214e5d2494ced23a732a8861695360.

Changed paths:
  M  include/site.inc


Diff:
diff --git a/include/site.inc b/include/site.inc
index affa89d..508fd62 100644
--- a/include/site.inc
+++ b/include/site.inc
@@ -515,10 +515,6 @@ if($_SERVER["SERVER_PORT"] != '80' && 
$_SERVER["SERVER_PORT"] != 443) {
     $msite  =      'http://' . $_SERVER["SERVER_NAME"] . '/';
 }
 
-// This is a horrendous hack that should be removed at some point, but we need
-// to avoid cross-domain issues where php.net is configured as www.php.net.
-$MIRRORS['http://php.net/'] = $MIRRORS['http://www.php.net/'];
-
 // If this site does not exist - it is most likely because
 // CC.php.net isn't in this array anymore.
 if (!isset($MIRRORS[$MYSITE])) {


--
PHP Webmaster List Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to