We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 763fd1c commit 7724b45Copy full SHA for 7724b45
frontend/module/system/model.php
@@ -638,7 +638,7 @@ public function saveDomainSettings()
638
}
639
640
$expiredDomain = $this->setting->getItem('owner=system&module=common§ion=domain&key=expiredDomain');
641
- $expiredDomain = empty($expiredDomain ) ? array() : json_decode($expiredDomain, true);
+ $expiredDomain = empty($expiredDomain ) ? array(getenv('APP_DOMAIN')) : json_decode($expiredDomain, true);
642
$expiredDomain[] = zget($settings, 'customDomain', '');
643
$this->setting->setItem('system.common.domain.expiredDomain', json_encode($expiredDomain));
644
0 commit comments