mirror of
https://github.com/e107inc/e107.git
synced 2025-08-10 08:34:09 +02:00
Improved e_CURRENT_PLUGIN detection when using SEF-URLs and other minor path fixes.
This commit is contained in:
@@ -386,6 +386,7 @@ class eDispatcher
|
||||
{
|
||||
case 'plugin':
|
||||
//if($custom) $custom = 'url/'.$custom;
|
||||
define('e_CURRENT_PLUGIN', $module); // TODO Move to a better location.
|
||||
return $sc ? '{e_PLUGIN}'.$module.'url/'.$custom.'url.php' : e_PLUGIN.$module.'url/'.$custom.'url.php';
|
||||
break;
|
||||
|
||||
|
Reference in New Issue
Block a user