1
0
mirror of https://gitlab.com/JKANetwork/CheckServer.git synced 2026-02-14 17:21:35 +01:00
This commit is contained in:
2020-10-17 18:25:25 +02:00
parent a0ae0df455
commit 7163a42645
4 changed files with 5 additions and 6 deletions

View File

@@ -1,7 +1,7 @@
<?php
if (isset($_GET['logout'])){session_start(); session_destroy();} //Logout
if (!file_exists(dirname(__FILE__).'/config/config.php')){
die('Not configured yet');
if (!file_exists(__DIR__ .'/config/config.php')){
header('location: install.php');
}
require_once 'functions.php';