mirror of
https://github.com/e107inc/e107.git
synced 2025-08-24 07:03:06 +02:00
Fixes #4826 - redirect dynamic content on static domain.
This commit is contained in:
@@ -10,10 +10,19 @@
|
||||
*
|
||||
*/
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
if (!defined('e107_INIT')) { exit; }
|
||||
if(!defined('USER_AREA')) { define('USER_AREA',TRUE); }
|
||||
if(!defined('ADMIN_AREA')) { define('ADMIN_AREA', false); }
|
||||
|
||||
if($redirect = e107::getRedirect()->redirectStaticDomain())
|
||||
{
|
||||
e107::redirect($redirect);
|
||||
}
|
||||
|
||||
e107::getDebug()->logTime('(Header Top)');
|
||||
|
||||
e_theme::initThemeLayout(); // set THEME_LAYOUT
|
||||
|
Reference in New Issue
Block a user