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.
memberdb/application/classes/Controller/Welcome.php

19 lines
466 B
PHP
Raw Normal View History

2014-06-30 04:22:57 +00:00
<?php defined('SYSPATH') or die('No direct script access.');
2014-07-09 03:04:56 +00:00
class Controller_Welcome extends Controller_TemplateDefault {
2014-06-30 04:22:57 +00:00
2014-07-09 03:04:56 +00:00
public function action_index() {
if (! Kohana::$config->load('config')->appname)
throw HTTP_Exception::factory(500,'Site not setup!');
$output = '';
2014-06-30 04:22:57 +00:00
2014-07-09 03:04:56 +00:00
$output = View::factory('pages/welcome');
Style::factory()
->type('file')
->data('media/css/pages/welcome.css');
$this->template->content = $output;
}
2014-06-30 04:22:57 +00:00
} // End Welcome