root = vfsStream::setup(); $this->app_root = vfsStream::newDirectory('application')->at($this->root); $this->base_root = vfsStream::newDirectory('system')->at($this->root); // Get VFS app and base path URLs $this->app_path = vfsStream::url('application').'/'; $this->base_path = vfsStream::url('system').'/'; // Set loader paths with VFS URLs $this->_ci_ob_level = ob_get_level(); $this->_ci_library_paths = array($this->app_path, $this->base_path); $this->_ci_helper_paths = array($this->app_path, $this->base_path); $this->_ci_model_paths = array($this->app_path); $this->_ci_view_paths = array($this->app_path.'views/' => TRUE); } /** * Give public access to _ci_autoloader for testing */ public function autoload() { $this->_ci_autoloader(); } }