]> git.immae.eu Git - github/wallabag/wallabag.git/commitdiff
Subdomain to domain failover left incorrect leading '.'. This has been remedied. 341/head 349/head
authorJason <jason@absurdnerd.com>
Sat, 30 Nov 2013 18:02:18 +0000 (13:02 -0500)
committerJason <jason@absurdnerd.com>
Sat, 30 Nov 2013 18:02:18 +0000 (13:02 -0500)
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
+?>