mirror of
https://git.steelants.cz/SH/PHP_SMART_HOME_V3.git
synced 2026-10-11 17:54:34 +00:00
Add old log remover and repair islogin function error
This commit is contained in:
1 parent
8a6185e329
commit
eba5301906
6 files changed
+23
-16
No files matched your search
@@ -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');
|
||||
|
||||
Reference in new issue
Block a user