Commit: 77b58f989dc9f909295d9d11527854f8b1eb8c49 Author: Ferenc Kovacs <[email protected]> Wed, 10 Apr 2013 00:14:58 +0200 Parents: 3354f3f2e826665fea9e63d2e1cb5a33e2c199f8 Branches: master
Link: http://git.php.net/?p=web/php.git;a=commitdiff;h=77b58f989dc9f909295d9d11527854f8b1eb8c49 Log: $MYSITE is www.php.net on the primary site now, so this check(without the www. prefix) would always fail Changed paths: M include/site.inc Diff: diff --git a/include/site.inc b/include/site.inc index 7edbbac..31b7e0b 100644 --- a/include/site.inc +++ b/include/site.inc @@ -17,7 +17,7 @@ function is_primary_site($site = FALSE) { global $MYSITE; if (!$site) { $site = $MYSITE; } - return $site == "http://php.net/"; + return ($site == "http://www.php.net/" || $site == "http://php.net/" ); } // Returns true if the current (or specified) -- PHP Webmaster List Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
