Loading Core/Config/Exported.php +9 −1 Original line number Original line Diff line number Diff line Loading @@ -38,12 +38,14 @@ class Exported $config = null, $config = null, $thirdPartyNetworks = null, $thirdPartyNetworks = null, $i18n = null, $i18n = null, $blockchain = null $blockchain = null, $proDomain = null ) { ) { $this->config = $config ?: Di::_()->get('Config'); $this->config = $config ?: Di::_()->get('Config'); $this->thirdPartyNetworks = $thirdPartyNetworks ?: Di::_()->get('ThirdPartyNetworks\Manager'); $this->thirdPartyNetworks = $thirdPartyNetworks ?: Di::_()->get('ThirdPartyNetworks\Manager'); $this->i18n = $i18n ?: Di::_()->get('I18n'); $this->i18n = $i18n ?: Di::_()->get('I18n'); $this->blockchain = $blockchain ?: Di::_()->get('Blockchain\Manager'); $this->blockchain = $blockchain ?: Di::_()->get('Blockchain\Manager'); $this->proDomain = $proDomain ?: Di::_()->get('Pro\Domain'); } } /** /** Loading Loading @@ -110,6 +112,12 @@ class Exported $exported['from_email_confirmation'] = true; $exported['from_email_confirmation'] = true; } } // Pro export if ($pro = $this->proDomain->lookup($_SERVER['HTTP_HOST'] ?? null)) { $exported['pro'] = $pro; } return $exported; return $exported; } } } } Loading
Core/Config/Exported.php +9 −1 Original line number Original line Diff line number Diff line Loading @@ -38,12 +38,14 @@ class Exported $config = null, $config = null, $thirdPartyNetworks = null, $thirdPartyNetworks = null, $i18n = null, $i18n = null, $blockchain = null $blockchain = null, $proDomain = null ) { ) { $this->config = $config ?: Di::_()->get('Config'); $this->config = $config ?: Di::_()->get('Config'); $this->thirdPartyNetworks = $thirdPartyNetworks ?: Di::_()->get('ThirdPartyNetworks\Manager'); $this->thirdPartyNetworks = $thirdPartyNetworks ?: Di::_()->get('ThirdPartyNetworks\Manager'); $this->i18n = $i18n ?: Di::_()->get('I18n'); $this->i18n = $i18n ?: Di::_()->get('I18n'); $this->blockchain = $blockchain ?: Di::_()->get('Blockchain\Manager'); $this->blockchain = $blockchain ?: Di::_()->get('Blockchain\Manager'); $this->proDomain = $proDomain ?: Di::_()->get('Pro\Domain'); } } /** /** Loading Loading @@ -110,6 +112,12 @@ class Exported $exported['from_email_confirmation'] = true; $exported['from_email_confirmation'] = true; } } // Pro export if ($pro = $this->proDomain->lookup($_SERVER['HTTP_HOST'] ?? null)) { $exported['pro'] = $pro; } return $exported; return $exported; } } } }