Bad redirection from controler Fix

This commit is contained in:
JonatanRek 2019-10-11 16:26:23 +02:00
parent 1b90258b55
commit 5501805c71
4 changed files with 4 additions and 4 deletions

View File

@ -38,7 +38,7 @@ if (isset($_POST) && !empty($_POST)){
AutomationManager::create($_POST['name'], $onDays, $doCode, $ifCode, (isset ($_POST['automation_id']) ? $_POST['automation_id'] : ""));
header('Location: /vasek/home/' . strtolower(basename(__FILE__, '.php')), TRUE);
header('Location: /vasek/home/' . strtolower(basename(__FILE__, '.php')));
die();
}
}

View File

@ -7,7 +7,7 @@ if (isset($_POST) && !empty($_POST)){
DashboardManager::Add($subDeviceId);
}
}
header('Location: /vasek/home/' . strtolower(basename(__FILE__, '.php')), TRUE);
header('Location: /vasek/home/' . strtolower(basename(__FILE__, '.php')));
die();
}
?>

View File

@ -67,7 +67,7 @@ if (isset($_POST) && !empty($_POST)){
echo '<a href="/vasek/home/">CONTINUE</a>';
die();
}
header('Location: /vasek/home/', TRUE);
header('Location: /vasek/home/');
die();
}
?>

View File

@ -13,6 +13,6 @@ if (isset($_POST) && !empty($_POST)){
die();
}
header('Location: /vasek/home/' . strtolower(basename(__FILE__, '.php')), TRUE);
header('Location: /vasek/home/' . strtolower(basename(__FILE__, '.php')));
die();
}