Enabled login
This commit is contained in:
@@ -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
|
||||
?>
|
||||
|
Reference in New Issue
Block a user