template->years = Kohana::config('common.this_year'); if (date('Y') > Kohana::config('common.this_year')) $this->template->years = Kohana::config('common.this_year') . date('-Y'); } public function action_view(){$this->request->redirect('');} }