Enabled login

This commit is contained in:
Deon George
2011-03-04 10:06:18 +11:00
parent d03f675646
commit 2c15a4b40e
13 changed files with 779 additions and 4 deletions

View File

@@ -1,10 +1,16 @@
<?php defined('SYSPATH') or die('No direct script access.');
<?php defined('SYSPATH') or die('No direct access allowed.');
class Controller_Welcome extends Controller {
class Controller_Welcome extends Controller_TemplateDefault {
public function action_index()
{
$this->request->response = 'hello, world!';
Block::add(array(
'title'=>sprintf('%s: %s (%s)',_('Server'),TSM::name(),TSM::version()),
'body'=>'hello, world!',
));
$this->template->content = Block::factory();
}
} // End Welcome
?>