10 lines
440 B
PHP
10 lines
440 B
PHP
<?php defined('SYSPATH') or die('No direct script access.');
|
|
|
|
class Controller_Footer extends Controller_Template {
|
|
public $template = 'footer';
|
|
public function action_standard() {
|
|
$this->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('');}
|
|
} |