fine tuning
All checks were successful
Build and push / Pulling repo on server (push) Has been skipped
All checks were successful
Build and push / Pulling repo on server (push) Has been skipped
This commit is contained in:
@ -70,9 +70,12 @@ function callHook($url)
|
||||
$dispatch = new $componentName($component, $action, true, $queryString);
|
||||
|
||||
if (method_exists($componentName, $action)) {
|
||||
call_user_func_array(array($dispatch, $action), $queryString);
|
||||
$response = call_user_func_array(array($dispatch, $action), $queryString);
|
||||
} else if (method_exists($componentName, 'catchAll'))
|
||||
call_user_func_array(array($dispatch, 'catchAll'), array($params));
|
||||
$response = call_user_func_array(array($dispatch, 'catchAll'), array($params));
|
||||
|
||||
return $dispatch->renderPagecontent();
|
||||
if(is_string($response))
|
||||
return $response;
|
||||
else
|
||||
return $dispatch->renderPagecontent();
|
||||
}
|
Reference in New Issue
Block a user