public function __construct()
{
// Setup the used Template to default, if it is not already defined.
if (!isset($this->template)) {
$this->template = Config::get('app.template');
}
}
public function __construct() { parent::__construct(); $this->config->set_item(array('view', 'wrap'), true); $this->config->set_item(array('view', 'header'), 'main/common/header.php'); $this->config->set_item(array('view', 'footer'), 'main/common/footer.php'); $this->_init(); }