aboutsummaryrefslogtreecommitdiffhomepage
path: root/inc/3rdparty
diff options
context:
space:
mode:
authorJason <jason@absurdnerd.com>2013-11-30 13:02:18 -0500
committerJason <jason@absurdnerd.com>2013-11-30 13:02:18 -0500
commit16ac4e3dbe5b3137fdb3d5f476efe627c0aad8e4 (patch)
treecc14ec43e08bfe3818dffdf3fc28e0488dae6fe3 /inc/3rdparty
parent2ab37d6205d3e4f7bfacf702de6755a924931751 (diff)
downloadwallabag-16ac4e3dbe5b3137fdb3d5f476efe627c0aad8e4.tar.gz
wallabag-16ac4e3dbe5b3137fdb3d5f476efe627c0aad8e4.tar.zst
wallabag-16ac4e3dbe5b3137fdb3d5f476efe627c0aad8e4.zip
Subdomain to domain failover left incorrect leading '.'. This has been remedied.
Diffstat (limited to 'inc/3rdparty')
-rw-r--r--inc/3rdparty/content-extractor/SiteConfig.php4
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?>