mirror of
https://git.steelants.cz/SH/PHP_SMART_HOME_V3.git
synced 2026-10-11 17:54:34 +00:00
FTP -> GIT (SYNC)
This commit is contained in:
1 parent
ad3118799f
commit
8f709bfb30
85 files changed
+310
-173
No files matched your search
@@ -0,0 +1,19 @@
|
||||
<?php
|
||||
class Login extends Template
|
||||
{
|
||||
function __construct()
|
||||
{
|
||||
global $userManager;
|
||||
global $lang;
|
||||
|
||||
if ($userManager->isLogin()){
|
||||
header('Location: ./');
|
||||
}
|
||||
|
||||
$template = new Template('login');
|
||||
$template->prepare('title', 'Home');
|
||||
$template->prepare('lang', $lang);
|
||||
|
||||
$template->render();
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user