mirror of
https://github.com/wallabag/wallabag.git
synced 2025-07-27 17:28:39 +00:00
Subdomain to domain failover left incorrect leading '.'. This has been remedied.
This commit is contained in:
parent
2ab37d6205
commit
16ac4e3dbe
1 changed files with 2 additions and 2 deletions
|
@ -114,7 +114,7 @@ class SiteConfig
|
||||||
$split = explode('.', $host);
|
$split = explode('.', $host);
|
||||||
if (count($split) > 1) {
|
if (count($split) > 1) {
|
||||||
array_shift($split);
|
array_shift($split);
|
||||||
$try[] = '.'.implode('.', $split);
|
$try[] = implode('.', $split);
|
||||||
}
|
}
|
||||||
foreach ($try as $h) {
|
foreach ($try as $h) {
|
||||||
if (array_key_exists($h, self::$config_cache)) {
|
if (array_key_exists($h, self::$config_cache)) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue