diff --git a/public/index.php b/public/index.php index caf0a4cc..e3d175eb 100644 --- a/public/index.php +++ b/public/index.php @@ -138,7 +138,7 @@ // -------------------------------------------------------------- // Execute the global "before" filter. // -------------------------------------------------------------- -$response = System\Route\Filter::call('before', array(), true); +$response = System\Route_Filter::call('before', array(), true); // ---------------------------------------------------------- // Execute the route function. @@ -157,7 +157,7 @@ // ---------------------------------------------------------- // Execute the global "after" filter. // ---------------------------------------------------------- -System\Route\Filter::call('after', array($response)); +System\Route_Filter::call('after', array($response)); // ---------------------------------------------------------- // Stringify the response. diff --git a/system/route.php b/system/route.php index 62ce1cce..f078e848 100644 --- a/system/route.php +++ b/system/route.php @@ -55,7 +55,7 @@ public function call() } elseif (is_array($this->callback)) { - $response = isset($this->callback['before']) ? Route\Filter::call($this->callback['before'], array(), true) : null; + $response = isset($this->callback['before']) ? Route_Filter::call($this->callback['before'], array(), true) : null; if (is_null($response) and isset($this->callback['do'])) { @@ -67,7 +67,7 @@ public function call() if (is_array($this->callback) and isset($this->callback['after'])) { - Route\Filter::call($this->callback['after'], array($response)); + Route_Filter::call($this->callback['after'], array($response)); } return $response; diff --git a/system/route/filter.php b/system/route_filter.php similarity index 94% rename from system/route/filter.php rename to system/route_filter.php index 2118595e..5fd9e10c 100644 --- a/system/route/filter.php +++ b/system/route_filter.php @@ -1,6 +1,6 @@ -