Permalink
Browse files

Fixing module base variable.

  • Loading branch information...
adamfairholm committed Jun 12, 2011
1 parent fe52d12 commit 861e8ec73676de9b1b666bf228e0ae0745f620a9
Showing with 2 additions and 5 deletions.
  1. +2 −5 trigger/mcp.trigger.php
View
@@ -26,15 +26,12 @@ function __construct()
$this->EE->load->helper('log');
$this->EE->load->model('package_mdl');
-
- $this->module_base = $this->EE->config->item('base_url').'admin/'.BASE.AMP.'C=addons_modules'.AMP.'M=show_module_cp'.AMP.'module=trigger';
+
+ $this->module_base = BASE.AMP.'C=addons_modules'.AMP.'M=show_module_cp'.AMP.'module=trigger';
// Define some constansts
-
define('TRIGGER_IMG_URL', $this->EE->config->item('base_url').SYSDIR.'/expressionengine/third_party/trigger/img/');
-
define('TRIGGER_ADDONS_FOLDER', PATH_THIRD.'trigger/addons/');
-
define('EE_SERVER_ROOT', str_replace('/'.SYSDIR.'/', '', FCPATH));
// -------------------------------------

0 comments on commit 861e8ec

Please sign in to comment.