1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-18 20:31:41 +02:00

Moved experimental e_ROUTE constant to registry.

This commit is contained in:
Cameron
2021-11-01 15:46:39 -07:00
parent 7930aba4ca
commit 6d5b4f5c3a
6 changed files with 12 additions and 11 deletions

View File

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