Updated bootstrap and Welcome controller for new request/response changes. Refs #2687

This commit is contained in:
Isaiah DeRose-Wilson 2010-12-13 11:58:03 -05:00
parent 2ff81513b3
commit 9cbf872a15
2 changed files with 4 additions and 4 deletions

View file

@ -109,8 +109,8 @@ if ( ! defined('SUPPRESS_REQUEST'))
* Execute the main request. A source of the URI can be passed, eg: $_SERVER['PATH_INFO']. * Execute the main request. A source of the URI can be passed, eg: $_SERVER['PATH_INFO'].
* If no source is specified, the URI will be automatically detected. * If no source is specified, the URI will be automatically detected.
*/ */
echo Request::instance() echo Request::factory()
->execute() ->execute()
->send_headers() ->send_headers()
->response; ->body;
} }

View file

@ -4,7 +4,7 @@ class Controller_Welcome extends Controller {
public function action_index() public function action_index()
{ {
$this->request->response = 'hello, world!'; $this->response->body = 'hello, world!';
} }
} // End Welcome } // End Welcome