mirror of
https://github.com/itflow-org/itflow
synced 2026-02-28 19:04:52 +00:00
Better logic handling for the default page redirects
This commit is contained in:
@@ -2,12 +2,9 @@
|
||||
|
||||
if (file_exists("config.php")) {
|
||||
//require_once "includes/check_login.php";
|
||||
|
||||
if (isset($config_start_page)) {
|
||||
header("Location: /user/$config_start_page");
|
||||
} else {
|
||||
header("Location: /user");
|
||||
}
|
||||
|
||||
header("Location: /user/$config_start_page");
|
||||
|
||||
} else {
|
||||
header("Location: /setup");
|
||||
exit();
|
||||
|
||||
Reference in New Issue
Block a user