Final Fixes And Clean Up

This commit is contained in:
JonatanRek
2020-04-28 11:52:14 +02:00
parent a3d911d3ec
commit e0bbc09389
18 changed files with 29 additions and 35 deletions

View File

@@ -1,10 +1,4 @@
<?php
$files = scandir('app/class/');
$files = array_diff($files, array('.', '..'));
foreach($files as $file) {
include_once 'app/class/'. $file;
}
class Automation extends Template
{
function __construct()
@@ -13,7 +7,7 @@ class Automation extends Template
global $langMng;
if (!$userManager->isLogin()){
header('Location: ' . BASEDIR . 'login');
header('Location: ' . BASEURL . 'login');
}
$automations = [];