diff options
author | Nicolas LÅ“uillet <nicolas.loeuillet@gmail.com> | 2013-12-02 23:14:49 -0800 |
---|---|---|
committer | Nicolas LÅ“uillet <nicolas.loeuillet@gmail.com> | 2013-12-02 23:14:49 -0800 |
commit | 13991e52884abf837a8736eb11d2259f626e1c99 (patch) | |
tree | 906f854989ecced1d56b2609d68b667b6040d1ea /inc/3rdparty/content-extractor | |
parent | e232d5532ac3c861126e93e2b544de30bbf7c4f1 (diff) | |
parent | 16ac4e3dbe5b3137fdb3d5f476efe627c0aad8e4 (diff) | |
download | wallabag-13991e52884abf837a8736eb11d2259f626e1c99.tar.gz wallabag-13991e52884abf837a8736eb11d2259f626e1c99.tar.zst wallabag-13991e52884abf837a8736eb11d2259f626e1c99.zip |
Merge pull request #349 from JasonGhent/master
Stackoverflow parsing and subdomain failover fix.
Diffstat (limited to 'inc/3rdparty/content-extractor')
-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 | ?> |