This repository has been archived on 2024-04-08. You can view files and clone it, but cannot push or open issues or pull requests.

36 lines
814 B
PHP
Raw Normal View History

2010-11-30 09:41:08 +11:00
<?php defined('SYSPATH') or die('No direct access allowed.');
2010-08-21 14:43:03 +10:00
2010-11-30 09:41:08 +11:00
/**
* OSB Main home page
2010-11-30 09:41:08 +11:00
*
* @package OSB
2010-11-30 09:41:08 +11:00
* @category Controllers
* @author Deon George
2013-03-20 09:35:19 +11:00
* @copyright (c) 2009-2013 Open Source Billing
* @license http://dev.osbill.net/license.html
2010-11-30 09:41:08 +11:00
*/
class Controller_Welcome extends Controller_TemplateDefault {
2011-07-14 08:59:32 +10:00
protected $auth_required = FALSE;
2013-05-10 20:48:10 +10:00
public function action_breadcrumb() {
$this->auto_render = FALSE;
$this->response->body(Session::instance()->get_once('breadcrumb'));
}
2010-11-30 09:41:08 +11:00
public function action_index() {
2012-11-10 10:13:57 +11:00
if (! Kohana::$config->load('config')->appname)
HTTP::redirect('guide/app');
$output = '';
$output = View::factory('pages/welcome');
Style::factory()
->type('file')
->data('media/css/pages/welcome.css');
$this->template->content = $output;
2010-11-30 09:41:08 +11:00
}
}
?>