]> git.immae.eu Git - github/wallabag/wallabag.git/blobdiff - inc/3rdparty/content-extractor/SiteConfig.php
Merge pull request #349 from JasonGhent/master
[github/wallabag/wallabag.git] / inc / 3rdparty / content-extractor / SiteConfig.php
index 089e10c62c636bb48b6a3337ac85e9472ef2eb46..efb229dd27fbaf891fe66adc8431effd4f765207 100644 (file)
@@ -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
+?>