Add old log remover and repair islogin function error

This commit is contained in:
Haitem
2020-07-20 19:15:23 +02:00
parent 8a6185e329
commit eba5301906
6 changed files with 23 additions and 16 deletions

View File

@@ -3,8 +3,8 @@ class Automation extends Template
{
function __construct()
{
global $userManager;
global $langMng;
$userManager = new UserManager();
global $lang;
if (!$userManager->isLogin()){
header('Location: ' . BASEURL . 'login');