mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-13 08:09:41 +00:00
cleanup
This commit is contained in:
parent
a43351476e
commit
d4077fac58
@ -56,8 +56,7 @@ if ( !isset($config['virtualip']['vip']) || !is_array($config['virtualip']['vip'
|
||||
}
|
||||
$a_vip = &$config['virtualip']['vip'];
|
||||
|
||||
if ($_SERVER['REQUEST_METHOD'] === 'GET') {
|
||||
} elseif ($_SERVER['REQUEST_METHOD'] === 'POST') {
|
||||
if ($_SERVER['REQUEST_METHOD'] === 'POST') {
|
||||
if (!empty($_POST['carp_maintenancemode'])) {
|
||||
interfaces_carp_set_maintenancemode(!isset($config["virtualip_carp_maintenancemode"]));
|
||||
} elseif (!empty($_POST['disablecarp'])) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user