diff options
-rw-r--r-- | inc/3rdparty/content-extractor/SiteConfig.php | 4 |
1 files changed, 2 insertions, 2 deletions
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 | |||
114 | $split = explode('.', $host); | 114 | $split = explode('.', $host); |
115 | if (count($split) > 1) { | 115 | if (count($split) > 1) { |
116 | array_shift($split); | 116 | array_shift($split); |
117 | $try[] = '.'.implode('.', $split); | 117 | $try[] = implode('.', $split); |
118 | } | 118 | } |
119 | foreach ($try as $h) { | 119 | foreach ($try as $h) { |
120 | if (array_key_exists($h, self::$config_cache)) { | 120 | if (array_key_exists($h, self::$config_cache)) { |
@@ -181,4 +181,4 @@ class SiteConfig | |||
181 | return $config; | 181 | return $config; |
182 | } | 182 | } |
183 | } | 183 | } |
184 | ?> \ No newline at end of file | 184 | ?> |