From 16ac4e3dbe5b3137fdb3d5f476efe627c0aad8e4 Mon Sep 17 00:00:00 2001 From: Jason Date: Sat, 30 Nov 2013 13:02:18 -0500 Subject: Subdomain to domain failover left incorrect leading '.'. This has been remedied. --- inc/3rdparty/content-extractor/SiteConfig.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'inc') diff --git a/inc/3rdparty/content-extractor/SiteConfig.php b/inc/3rdparty/content-extractor/SiteConfig.php index 089e10c6..efb229dd 100644 --- a/inc/3rdparty/content-extractor/SiteConfig.php +++ b/inc/3rdparty/content-extractor/SiteConfig.php @@ -114,7 +114,7 @@ class SiteConfig $split = explode('.', $host); if (count($split) > 1) { array_shift($split); - $try[] = '.'.implode('.', $split); + $try[] = implode('.', $split); } foreach ($try as $h) { if (array_key_exists($h, self::$config_cache)) { @@ -181,4 +181,4 @@ class SiteConfig return $config; } } -?> \ No newline at end of file +?> -- cgit v1.2.3