Commit 1a966960 authored by Taylor Otwell's avatar Taylor Otwell

break if before filter returns a response.

parent 6cf69d54
......@@ -142,6 +142,8 @@ if (ACTIVE_MODULE !== 'application' and file_exists($filters = ACTIVE_MODULE_PAT
foreach (array('before', ACTIVE_MODULE.'::before') as $filter)
{
$response = Routing\Filter::call($filter, array(), true);
if ( ! is_null($response)) break;
}
// --------------------------------------------------------------
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment