Final Fixes And Clean Up

This commit is contained in:
jonatanrek committed 2020-04-28 11:52:14 +02:00
1 parent a3d911d3ec
commit e0bbc09389
18 files changed
+29 -35

No files matched your search

+2 -2
View File
@@ -8,12 +8,12 @@ class Ajax extends Template
global $lang;
if (!$userManager->isLogin()){
header('Location: ' . BASEDIR);
header('Location: ' . BASEURL);
}
$is_ajax = 'XMLHttpRequest' == ( $_SERVER['HTTP_X_REQUESTED_WITH'] ?? '' );
if (!$is_ajax){
header('Location: ' . BASEDIR);
header('Location: ' . BASEURL);
}
if (