some more stuff
This commit is contained in:
@@ -5,10 +5,9 @@ require_once "lib/account.php";
|
||||
|
||||
global $routerConfig;
|
||||
|
||||
$output = file_get_contents($routerConfig["template_dir"] . "userActions.html");
|
||||
if (isUserAdmin()) {
|
||||
$output = file_get_contents($routerConfig["template_dir"] . "adminActions.html");
|
||||
} else {
|
||||
$output = file_get_contents($routerConfig["template_dir"] . "userActions.html");
|
||||
$output .= file_get_contents($routerConfig["template_dir"] . "adminActions.html");
|
||||
}
|
||||
|
||||
return [
|
||||
|
Reference in New Issue
Block a user