1
0
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:
Cameron
2022-07-19 16:32:33 -07:00
parent 1792aee537
commit c4bcf0a663
4 changed files with 156 additions and 6 deletions

View File

@@ -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