2, "secret" => "no", "page_title" => "Settings"]; } function render(): string { global $routerConfig; ob_start(); if (isUserAdmin()) { echo file_get_contents($routerConfig["template_dir"] . "adminActions.html"); } else { echo file_get_contents($routerConfig["template_dir"] . "userActions.html"); } return ob_get_clean(); }