first commit
This commit is contained in:
19
application/controllers/admin/welcome.php
Normal file
19
application/controllers/admin/welcome.php
Normal file
@@ -0,0 +1,19 @@
|
||||
<?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);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user