Version 0.9.5 beta - update for the autoloading and a bugfix for the directory iterators, also the dispatcher checks for the action before loading it now.
This commit is contained in:
@@ -48,7 +48,10 @@ final class Dispatcher
|
||||
{
|
||||
$action = $_REQUEST['_action']."Action";
|
||||
$controller->navigationAction();
|
||||
$controller->$action();
|
||||
if(method_exists($controller, $action))
|
||||
{
|
||||
$controller->$action();
|
||||
}
|
||||
$controller->pageAction();
|
||||
}
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user