We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6d17b4c commit e3d3fa6Copy full SHA for e3d3fa6
third_party/HMVC/Router.php
@@ -46,7 +46,8 @@ class HMVC_Router extends CI_Router {
46
* Runs the route mapping function.
47
*/
48
function __construct() {
49
- parent::__construct();
+
50
+ $this->config =& load_class('Config', 'core');
51
52
// Process 'modules_locations' from config
53
$locations = $this->config->item('modules_locations');
@@ -65,6 +66,9 @@ function __construct() {
65
66
}
67
68
$this->config->set_item('modules_locations', $locations);
69
70
71
+ parent::__construct();
72
73
74
/**
@@ -241,4 +245,4 @@ function set_module($module) {
241
245
function fetch_module() {
242
246
return $this->module;
243
247
244
-}
248
+}
0 commit comments