404 seiten auf unterseiten gehen jetzt, icons werden jetzt korrekt bei menüs angezeigt, die submenüs haben
All checks were successful
Build and push / Pulling repo on server (push) Successful in 3s
All checks were successful
Build and push / Pulling repo on server (push) Successful in 3s
This commit is contained in:
@ -86,10 +86,15 @@ function callHook($url)
|
||||
} else
|
||||
$dispatch = new $componentName($component, $action, true, $queryString);
|
||||
|
||||
if (method_exists($componentName, $action)) {
|
||||
if (method_exists($componentName, $action))
|
||||
$response = call_user_func_array(array($dispatch, $action), $queryString);
|
||||
} else if (method_exists($componentName, 'catchAll'))
|
||||
else if (method_exists($componentName, 'catchAll'))
|
||||
$response = call_user_func_array(array($dispatch, 'catchAll'), array($params));
|
||||
else
|
||||
{
|
||||
$dispatch = new Err('err', 'notfound', false);
|
||||
$response = call_user_func_array(array($dispatch, 'notfound'), array($params));
|
||||
}
|
||||
|
||||
if(is_string($response))
|
||||
return $response;
|
||||
|
Reference in New Issue
Block a user