mirror of
https://github.com/itflow-org/itflow
synced 2026-02-28 10:54:52 +00:00
Check to see if config.php exists in header.php else redirect to setup.php, removed the else conditions as they were unessessary
This commit is contained in:
16
index.php
16
index.php
@@ -1,9 +1,4 @@
|
||||
<?php
|
||||
|
||||
if(file_exists('config.php')){
|
||||
include("header.php");
|
||||
|
||||
?>
|
||||
<?php include("header.php"); ?>
|
||||
|
||||
<!-- Breadcrumbs-->
|
||||
<ol class="breadcrumb">
|
||||
@@ -18,11 +13,4 @@ if(file_exists('config.php')){
|
||||
<hr>
|
||||
<p>This is a great starting point for new custom pages.</p>
|
||||
|
||||
<?php
|
||||
include("footer.php");
|
||||
|
||||
}else{
|
||||
header("Location: setup.php");
|
||||
}
|
||||
|
||||
?>
|
||||
<?php include("footer.php"); ?>
|
||||
Reference in New Issue
Block a user