Bad redirection from controler Fix
This commit is contained in:
parent
1b90258b55
commit
5501805c71
@ -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();
|
||||
}
|
||||
}
|
||||
|
@ -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();
|
||||
}
|
||||
?>
|
||||
|
@ -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();
|
||||
}
|
||||
?>
|
||||
|
@ -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();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user