Permalink
Browse files

Merge pull request #860 from tomcode/hmvc-lite-subfolderLateLoadingCo…

…ntroller

Fix for Hmvc lite subfolder late loading controller
  • Loading branch information...
2 parents 79cdddb + 95fc1df commit 772db7b1d1ecc8637dbfc179573968344cb3725d @narfbg narfbg committed Jun 12, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 system/core/Loader.php
View
@@ -341,7 +341,7 @@ public function controller($route, $name = NULL, $call = TRUE)
}
// Include source and instantiate object
- include($path.'controllers/'.$subdir.strtolower($class).'.php');
+ include($path.'controllers/'.$subdir.'/'.strtolower($class).'.php');
$classnm = ucfirst($class);
$this->CI->$name = new $classnm();

0 comments on commit 772db7b

Please sign in to comment.