From 63694de75b08f32e822fb288c9497146ea1bbc0a Mon Sep 17 00:00:00 2001 From: Taylor Otwell Date: Wed, 3 Aug 2011 08:44:43 -0500 Subject: [PATCH] Changing back to old routing system. --- public/index.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/public/index.php b/public/index.php index 1352de5d..38fcd28e 100644 --- a/public/index.php +++ b/public/index.php @@ -150,7 +150,7 @@ // -------------------------------------------------------------- // Register the route filters. // -------------------------------------------------------------- -System\Routing\Filter::register(require ROUTE_PATH.'filters'.EXT); +System\Routing\Filter::register(require APP_PATH.'filters'.EXT); // -------------------------------------------------------------- // Execute the global "before" filter. @@ -162,7 +162,7 @@ // ---------------------------------------------------------- if (is_null($response)) { - $route = System\Routing\Router::make(System\Request::method(), System\Request::uri(), new System\Routing\Loader(ROUTE_PATH))->route(); + $route = System\Routing\Router::make(System\Request::method(), System\Request::uri(), new System\Routing\Loader(APP_PATH))->route(); $response = (is_null($route)) ? System\Response::error('404') : $route->call(); }