Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php defined('SYSPATH') or die('No direct script access.');
- class Controller_Hello extends Controller {
- public function action_index()
- {
- $name = $this->request->param('name', 'world');
- $this->response->body("hello {$name}");
- }
- }
Add Comment
Please, Sign In to add comment