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

@@ -9,14 +9,14 @@ class Log extends Template
global $langMng;
if (!$userManager->isLogin()){
header('Location: ' . BASEDIR . 'login');
header('Location: ' . BASEURL . 'login');
}
$template = new Template('log');
$template->prepare('title', 'Log');
$result = array();
$cdir = scandir('./app/logs/');
$cdir = scandir('../logs/');
foreach ($cdir as $key => $value)
{
if (!in_array($value,array(".","..", ".gitkeep")))