1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-12 09:34:54 +02:00

Changed load order of Menus and Theme Layout detection.

This commit is contained in:
Cameron
2021-02-13 18:55:44 -08:00
parent 3bb541a6d9
commit b0300f93bf
6 changed files with 39 additions and 23 deletions

View File

@@ -194,6 +194,10 @@ class e_url
define('e_PAGE', basename($file));
}
if(!defined('e_ROUTE')) // subject to removal at any time.
{
define('e_ROUTE', $plug.'/'.$k);
}
$fpUrl = str_replace(SITEURL, '', rtrim(e_REQUEST_URL, '?/'));
$fpPref = e107::getFrontpage();