Exemple #1
0
 private function render()
 {
     if (Config::get('error')) {
         $this->_template = '404';
     }
     $this->_breadcrumbs = HTML::breadcrumbs($this->_breadcrumbs);
     $data = array();
     foreach ($this as $key => $value) {
         $data[$key] = $value;
     }
     echo View::tpl($data, $this->_template);
     echo System::global_massage();
 }