mirror of
https://github.com/myvesta/vesta
synced 2025-08-14 10:37:42 -07:00
UI update
This commit is contained in:
parent
0f7110b0e7
commit
527e4a9a62
139 changed files with 2046 additions and 124 deletions
|
@ -45,6 +45,13 @@ if ( $v_suspended == 'yes' ) {
|
|||
|
||||
// Check POST request
|
||||
if (!empty($_POST['save'])) {
|
||||
|
||||
// Check token
|
||||
if ((!isset($_POST['token'])) || ($_SESSION['token'] != $_POST['token'])) {
|
||||
header('location: /login/');
|
||||
exit();
|
||||
}
|
||||
|
||||
$v_rule = escapeshellarg($_GET['rule']);
|
||||
$v_action = escapeshellarg($_POST['v_action']);
|
||||
$v_protocol = escapeshellarg($_POST['v_protocol']);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue