mirror of https://github.com/itflow-org/itflow
Fix last commit from redirecting to login page when already logged in
This commit is contained in:
parent
e292283254
commit
56fd25d20e
18
index.php
18
index.php
|
|
@ -1,7 +1,21 @@
|
|||
<?php
|
||||
<?php
|
||||
|
||||
if (file_exists("config.php")) {
|
||||
header("Location: login.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>
|
||||
|
||||
<!-- Page Content -->
|
||||
<h1>Blank Page</h1>
|
||||
<hr>
|
||||
<?php
|
||||
|
||||
include("footer.php");
|
||||
|
||||
} else {
|
||||
header("Location: setup.php");
|
||||
|
|
|
|||
Loading…
Reference in New Issue