mirror of
https://github.com/itflow-org/itflow
synced 2026-03-10 07:44:50 +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"); ?>
|
<?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>
|
|
||||||
|
|
||||||
<!-- Page Content -->
|
if (file_exists("config.php")) {
|
||||||
<h1>Blank Page</h1>
|
header("Location: login.php");
|
||||||
<hr>
|
|
||||||
<?php include("footer.php"); ?>
|
} else {
|
||||||
|
header("Location: setup.php");
|
||||||
|
}
|
||||||
|
|
||||||
|
?>
|
||||||
Reference in New Issue
Block a user