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'] : ""));
|
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();
|
die();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -7,7 +7,7 @@ if (isset($_POST) && !empty($_POST)){
|
|||||||
DashboardManager::Add($subDeviceId);
|
DashboardManager::Add($subDeviceId);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
header('Location: /vasek/home/' . strtolower(basename(__FILE__, '.php')), TRUE);
|
header('Location: /vasek/home/' . strtolower(basename(__FILE__, '.php')));
|
||||||
die();
|
die();
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
|
@ -67,7 +67,7 @@ if (isset($_POST) && !empty($_POST)){
|
|||||||
echo '<a href="/vasek/home/">CONTINUE</a>';
|
echo '<a href="/vasek/home/">CONTINUE</a>';
|
||||||
die();
|
die();
|
||||||
}
|
}
|
||||||
header('Location: /vasek/home/', TRUE);
|
header('Location: /vasek/home/');
|
||||||
die();
|
die();
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
|
@ -13,6 +13,6 @@ if (isset($_POST) && !empty($_POST)){
|
|||||||
die();
|
die();
|
||||||
}
|
}
|
||||||
|
|
||||||
header('Location: /vasek/home/' . strtolower(basename(__FILE__, '.php')), TRUE);
|
header('Location: /vasek/home/' . strtolower(basename(__FILE__, '.php')));
|
||||||
die();
|
die();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user