mirror of
https://github.com/e107inc/e107.git
synced 2025-07-25 00:41:52 +02:00
Closes #5205 Custom domain for specific pages.
This commit is contained in:
@@ -117,7 +117,7 @@ class e_url
|
||||
e107::canonical('_SITEURL_');
|
||||
}
|
||||
|
||||
if(empty($this->_config) || empty($this->_request) || $this->_request === 'index.php' || $this->isLegacy() === true)
|
||||
if(empty($this->_config) /*|| empty($this->_request) || $this->_request === 'index.php'*/ || $this->isLegacy() === true)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
@@ -141,6 +141,10 @@ class e_url
|
||||
continue;
|
||||
}
|
||||
|
||||
if((empty($v['domain']) && (empty($this->_request) || $this->_request === 'index.php')) || (isset($v['domain']) && ($v['domain'] !== $_SERVER['HTTP_HOST'])))
|
||||
{
|
||||
continue;
|
||||
}
|
||||
|
||||
if(!empty($v['alias']))
|
||||
{
|
||||
|
Reference in New Issue
Block a user