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

This commit is contained in:
2023-10-26 20:26:28 +02:00
parent ea4069f8b8
commit 135958c9f0
11 changed files with 60 additions and 200 deletions

View File

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