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:
Stephan Kasdorf
2020-01-06 11:42:01 +01:00
parent 12288f52df
commit dc45ffb6ec
2 changed files with 37 additions and 22 deletions

View File

@@ -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