Fixed loader issues with MS Edge

This commit is contained in:
WolverinDEV 2019-02-15 21:13:56 +01:00
parent e9e2577241
commit 5e75dffc5d
2 changed files with 8 additions and 1 deletions

View file

@ -242,6 +242,10 @@
}
}
function setup_forum_auth() {
getXF(); /* Initialize XF */
}
if(!$_INCLIDE_ONLY) {
$app = getXF();
if(!$app) return;

View file

@ -20,6 +20,10 @@
return false;
}
}
if(function_exists("setup_forum_auth"))
setup_forum_auth();
$localhost |= gethostname() == "WolverinDEV";
if(!$localhost || $testXF) {
//redirectOnInvalidSession();
@ -27,7 +31,6 @@
$WEB_CLIENT = http_response_code() !== false;
?>
<!DOCTYPE html>
<html lang="en">
<head>