mirror of https://github.com/itflow-org/itflow
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:
parent
27b7dc1cce
commit
d978911b7d
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");
|
||||
}
|
||||
|
||||
?>
|
||||
Loading…
Reference in New Issue