break if before filter returns a response.
This commit is contained in:
parent
6cf69d5406
commit
1a96696046
|
@ -142,6 +142,8 @@
|
||||||
foreach (array('before', ACTIVE_MODULE.'::before') as $filter)
|
foreach (array('before', ACTIVE_MODULE.'::before') as $filter)
|
||||||
{
|
{
|
||||||
$response = Routing\Filter::call($filter, array(), true);
|
$response = Routing\Filter::call($filter, array(), true);
|
||||||
|
|
||||||
|
if ( ! is_null($response)) break;
|
||||||
}
|
}
|
||||||
|
|
||||||
// --------------------------------------------------------------
|
// --------------------------------------------------------------
|
||||||
|
|
Loading…
Reference in New Issue