19 lines
442 B
PHP
19 lines
442 B
PHP
<?php defined('SYSPATH') OR die('No direct access allowed.');
|
|
|
|
class Welcome_Controller extends Base_Admin_Controller
|
|
{
|
|
public function __construct()
|
|
{
|
|
parent::__construct();
|
|
}
|
|
public function index()
|
|
{
|
|
$welcome_view = new View('admin/welcome');
|
|
$this->view->path = 'Witamy';
|
|
$welcome_view->title = Kohana::config('application.title');
|
|
$this->view->content = $welcome_view;
|
|
$this->view->render(true);
|
|
}
|
|
|
|
|
|
} |