Fixed (file) comments.
This commit is contained in:
@ -1,7 +1,6 @@
|
||||
<?PHP
|
||||
/**
|
||||
* Start page of the backend.
|
||||
* Offers a dashboard.
|
||||
* This script lists all users and offers the option to add new ones.
|
||||
*
|
||||
* @author Joshua Ramon Enslin <joshua@jrenslin.de>
|
||||
*/
|
||||
@ -32,7 +31,10 @@ if (!isset($users)) {
|
||||
$users = json_decode(file_get_contents(__DIR__ . "/../data/users.json"), true);
|
||||
}
|
||||
|
||||
if (isset($task) and $task == "insert") { // Adding new users.
|
||||
/**
|
||||
* Adding new users.
|
||||
*/
|
||||
if (isset($task) and $task == "insert") {
|
||||
|
||||
$redirectURL = "./users.php?" . write_common_vars(["username", "realName", "email", "admin"]) . "#addUser";
|
||||
|
||||
|
Reference in New Issue
Block a user