1
0
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:
Cameron
2015-04-03 18:42:27 -07:00
parent 71961be7af
commit 619b40b2e3
7 changed files with 44 additions and 35 deletions

View File

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