got rid of URI class and brought URI determination back to into request class.

This commit is contained in:
Taylor Otwell
2011-10-29 23:17:47 -05:00
parent ef9e4dfd61
commit 75ce8796d7
6 changed files with 32 additions and 107 deletions

View File

@@ -37,7 +37,6 @@ if (Config::$items['session']['driver'] !== '')
* Manually load some core classes that are used on every request
* This allows to avoid using the loader for these classes.
*/
require SYS_PATH.'uri'.EXT;
require SYS_PATH.'input'.EXT;
require SYS_PATH.'request'.EXT;
require SYS_PATH.'response'.EXT;
@@ -91,7 +90,7 @@ Input::$input = $input;
*/
Routing\Filter::register(require APP_PATH.'filters'.EXT);
list($uri, $method) = array(Request::uri()->get(), Request::method());
list($uri, $method) = array(Request::uri(), Request::method());
Request::$route = IoC::container()->core('routing.router')->route($method, $uri);