title: Load controller from module hmvc codeigniter
body: <p>I have my normal mvc directory's at codeigniter like:</p>
  
  <ul>
  <li>Models</li>
  <li>Views </li>
  <li>Controllers</li>
  </ul>
  
  <p>But I use the wiredesigz "plugin" for hmvc support, so I have this structure:</p>
  
  <ul>
  <li>Models</li>
  <li>Views </li>
  <li>Controllers</li>
  <li>Modules
  
  <ul>
  <li>TestModule
  
  <ul>
  <li>Models</li>
  <li>Views</li>
  <li>Controllers</li>
  </ul></li>
  </ul></li>
  </ul>
  
  <p>I have this code at my root controllers folder:</p>
  
  <pre><code>class Core_Test_Controller extends MX_controller
  {
      public function __construct()
      {
          parent::__construct();
      }
  
      public function getText() {
          return "hi";
      }
  }
  </code></pre>
  
  <p>And this at the /Modules/TestModule/Controllers:</p>
  
  <pre><code>   class InsertController extends MX_Controller
      {
          public function __construct(){
              parent::__construct();
          }
  
         function testIt{
             $coreTestController = new $this-&gt;Core_Test_Controller();
             $text = $coreTestController-&gt;getText();
             print_r($text);
          }
      }
  </code></pre>
  
  <p>But I get the error that class Core_Test_Controller is not found. Why can't I acces that controller from another controller? Is this even possible?</p>
  
  <p>Fixed it:</p>
  
  <p>Modules::load('../Core_Test_Controller/')->getText();</p>