<?php if (!defined('BASEPATH')) exit('No direct script access allowed');

class Catalog_Loader extends CI_Loader
{

/**
*
* Redefine constructor to change value of variable that store path
* to viewers. Originally it's value is
* $this->_ci_view_path = APPPATH.'views/';
* now it is just
* $this->_ci_view_path = 'views/';
* This allows to move folder 'views' at top level of application
* folder structure.
*
*/

	function Catalog_Loader()
	{

		parent::CI_Loader();

		$this->_ci_view_path = 'views/';

	}

}

/* End of file Catalog_Loader.php */
/* Location: ./system/application/libraries/Catalog_Loader.php */