miniMVC/modules/welcome/controllers/welcome.php

27 lines
394 B
PHP
Raw Normal View History

<?php
class Welcome extends MM_Controller {
function __construct()
{
parent::__construct();
}
function index()
{
2011-12-30 16:41:25 -05:00
$output = $this->page->set_message('info', "This is just a test message", TRUE);
$this->page->output_string($output);
2011-12-29 16:57:28 -05:00
}
function php()
{
ob_start();
phpinfo();
$output = ob_get_contents();
ob_end_clean();
2011-12-29 16:57:28 -05:00
$this->output->set_output($output);
}
}