mirror of
https://github.com/itflow-org/itflow
synced 2026-02-28 10:54:52 +00:00
Updated index.php to act as a redirector if config.php exits redirect to login if it doesnt then goto setup
This commit is contained in:
21
index.php
21
index.php
@@ -1,13 +1,10 @@
|
||||
<?php include("inc_all.php"); ?>
|
||||
<!-- Breadcrumbs-->
|
||||
<ol class="breadcrumb">
|
||||
<li class="breadcrumb-item">
|
||||
<a href="index.php">Dashboard</a>
|
||||
</li>
|
||||
<li class="breadcrumb-item active">Blank Page</li>
|
||||
</ol>
|
||||
<?php
|
||||
|
||||
<!-- Page Content -->
|
||||
<h1>Blank Page</h1>
|
||||
<hr>
|
||||
<?php include("footer.php"); ?>
|
||||
if (file_exists("config.php")) {
|
||||
header("Location: login.php");
|
||||
|
||||
} else {
|
||||
header("Location: setup.php");
|
||||
}
|
||||
|
||||
?>
|
||||
Reference in New Issue
Block a user