Make it compatible without the auth stuff

This commit is contained in:
WolverinDEV 2018-04-17 18:12:20 +02:00
parent 9ac34c7020
commit e29df918d5

View file

@ -6,7 +6,12 @@
include_once('auth.php'); include_once('auth.php');
else if(file_exists('auth/auth.php')) else if(file_exists('auth/auth.php'))
include_once('auth/auth.php'); include_once('auth/auth.php');
else die("Could not resolve auth.php!"); else {
//die("Could not resolve auth.php!");
function authPath() { return ""; }
function redirectOnInvalidSession() {}
$localhost = true;
}
if(!$localhost || $testXF){ if(!$localhost || $testXF){
redirectOnInvalidSession(); redirectOnInvalidSession();
} }