290420 New theme, personal settings and bugfixes

This commit is contained in:
Daisuke
2020-04-29 12:29:25 -05:00
parent 16e39ffbe8
commit 687ddc7068
48 changed files with 1986 additions and 369 deletions

View File

@ -42,8 +42,16 @@ include "settings.php"; # the general settings of the FE
include "include/init.php"; # initializes the page load with some variables and cookies
include "include/functions.php"; # the functions that are used on all the FE files.
if ($logedin){
$info = api_get("accounts/verify_credentials");
if(!$info['display_name']){
header('Location: ./logout');
}
}
/* if part of the url query is an ajax action, this file will handle it */
if(isset($_GET['action'])){
if(isset($_GET['action']) || isset($_POST['action'])){
include "action.php";
}