* Adjust cne config get.
This commit is contained in:
@@ -335,7 +335,9 @@ class cneModel extends model
|
||||
$customDomain = $this->loadModel('setting')->getItem('owner=system&module=common§ion=domain&key=customDomain');
|
||||
if($customDomain) return $customDomain;
|
||||
|
||||
return getenv('APP_DOMAIN');
|
||||
if(getenv('APP_DOMAIN')) return getenv('APP_DOMAIN');
|
||||
if(!empty($this->config->CNE->app->domain)) return $this->config->CNE->app->domain;
|
||||
return '';
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user