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:
@@ -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, '?/'));
|
||||
|
Reference in New Issue
Block a user