fixing bugs and refactoring.

This commit is contained in:
Taylor Otwell
2011-10-15 22:38:43 -05:00
parent b40e69c47a
commit a7e98e8e9a
7 changed files with 57 additions and 34 deletions

View File

@@ -78,7 +78,7 @@ switch (Request::method())
*/
unset($input[Request::spoofer]);
Input::set($input);
Input::$input = $input;
/**
* Route the request to the proper route in the application. If a
@@ -88,7 +88,7 @@ Input::set($input);
*/
Routing\Filter::register(require APP_PATH.'filters'.EXT);
list($method, $uri) = array(Request::method(), Request::uri());
list($uri, $method) = array(Request::uri(), Request::method());
$route = IoC::container()->core('routing.router')->route($method, $uri);