Fix last commit from redirecting to login page when already logged in

This commit is contained in:
johnnyq 2023-02-09 20:22:55 -05:00
parent e292283254
commit 56fd25d20e
1 changed files with 16 additions and 2 deletions

View File

@ -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");