title: Codeigniter load view from outside application folder?
body: <p>I'm trying to load a view from outside the application folder in Codeigniter (3.1.0) like this:</p>
  
  <pre><code>public function index ( $page = '' ) {
      /**
       * Get active theme from DB
       */
      $active_theme = $this-&gt;m-&gt;getActiveTheme();
  
      /**
       * Change default view path
       */
      $this-&gt;_ci_view_paths = array(
          FCPATH . 'themes/' . $active_theme . '/' =&gt; TRUE
      );
  
      /**
       * Load index if page is not found
       */
      if ( ! file_exists( FCPATH . 'themes/' . $active_theme . '/' . $page . '.php')) {
          $this-&gt;load-&gt;view( 'index', $data );
      } else {
          $this-&gt;load-&gt;view( $page, $data );
      }
  }
  </code></pre>
  
  <p>But I'm getting this error:</p>
  
  <p>Unable to load the requested file: index.php</p>
  
  <p>Or whatever page I try to load.</p>
  
  <p>Anyone know what I'm missing here?</p>