Make it compatible without the auth stuff
This commit is contained in:
parent
9ac34c7020
commit
e29df918d5
1 changed files with 6 additions and 1 deletions
|
@ -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();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue