mirror of
https://github.com/e107inc/e107.git
synced 2025-08-11 00:54:49 +02:00
PHP Notice removal
This commit is contained in:
@@ -386,7 +386,10 @@ class eDispatcher
|
||||
{
|
||||
case 'plugin':
|
||||
//if($custom) $custom = 'url/'.$custom;
|
||||
define('e_CURRENT_PLUGIN', $module); // TODO Move to a better location.
|
||||
if(!defined('e_CURRENT_PLUGIN'))
|
||||
{
|
||||
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