Fix last commit from redirecting to login page when already logged in
This commit is contained in:
18
index.php
18
index.php
@@ -1,7 +1,21 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
if (file_exists("config.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 {
|
} else {
|
||||||
header("Location: setup.php");
|
header("Location: setup.php");
|
||||||
|
|||||||
Reference in New Issue
Block a user