mirror of
https://github.com/serghey-rodin/vesta.git
synced 2025-08-14 10:37:39 -07:00
UI update
This commit is contained in:
parent
0f7110b0e7
commit
527e4a9a62
139 changed files with 2046 additions and 124 deletions
|
@ -9,6 +9,12 @@ include($_SERVER['DOCUMENT_ROOT']."/inc/main.php");
|
|||
$backup = $_POST['backup'];
|
||||
$action = $_POST['action'];
|
||||
|
||||
// Check token
|
||||
if ((!isset($_POST['token'])) || ($_SESSION['token'] != $_POST['token'])) {
|
||||
header('location: /login/');
|
||||
exit();
|
||||
}
|
||||
|
||||
switch ($action) {
|
||||
case 'delete': $cmd='v-delete-user-backup';
|
||||
break;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue