title: Changing the views default path on Codeigniter 3.0 versions
body: <p>On codeigniter 3 when loading a view, the default path is application / views /</p>
  
  <p>I would like to be able to change the default path to application / views / template / </p>
  
  <p>I use to be able to change the default view path on MY_Loader.php <code>$this-&gt;_ci_view_path = APPPATH .'views/template/';</code> as shown below. Currenly it only suited for CI2 does not seem to work on CI3</p>
  
  <p><strong>Question</strong> On codeigniter 3.0 versions what is the best method of changing the default view path, can it be done similar to my MY_Loader from CI2 to CI3.</p>
  
  <pre><code>&lt;?php
  
  class MY_Loader extends CI_Loader {
  
     function __construct() {
        // Change this property to match your new path
  
        $this-&gt;_ci_view_path = APPPATH .'views/template/';
        $this-&gt;_ci_ob_level  = ob_get_level();
        $this-&gt;_ci_library_paths = array(APPPATH, BASEPATH);
        $this-&gt;_ci_helper_paths = array(APPPATH, BASEPATH);
        $this-&gt;_ci_model_paths = array(APPPATH);
        log_message('debug', "Loader Class Initialized");
     }
  }
  </code></pre>