1
0
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:
Cameron
2015-04-22 12:27:02 -07:00
parent 7b4bc374c6
commit 3bbda20886
2 changed files with 9 additions and 3 deletions

View File

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