From 5ec0bb35ae67538db3e0b93b41d030ff8d24723e Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Sun, 1 May 2022 22:07:53 +0200 Subject: [PATCH] update settings --- Controller/CliController.php | 2 +- Theme/Backend/monitoring-security.tpl.php | 8 ++++++-- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/Controller/CliController.php b/Controller/CliController.php index dac6511..2358bda 100644 --- a/Controller/CliController.php +++ b/Controller/CliController.php @@ -14,7 +14,7 @@ declare(strict_types=1); namespace Modules\Monitoring\Controller; -use Model\SettingsEnum; +use Modules\Admin\Models\SettingsEnum; use Modules\Admin\Models\AccountMapper; use phpOMS\Contract\RenderableInterface; use phpOMS\Message\Mail\Email; diff --git a/Theme/Backend/monitoring-security.tpl.php b/Theme/Backend/monitoring-security.tpl.php index 9d90a7f..a68a8df 100755 --- a/Theme/Backend/monitoring-security.tpl.php +++ b/Theme/Backend/monitoring-security.tpl.php @@ -66,6 +66,7 @@ echo $this->getData('nav')->render(); ?>
getHtml('Inspection'); ?>
+
@@ -171,8 +172,10 @@ echo $this->getData('nav')->render(); ?>
getHtml('OK') : $this->getHtml('NG'); ?> + $files = Directory::listByExtension(__DIR__ . '/../../../../Modules/', 'php', 'tests(\/|\\\)'); + foreach ($files as $file) : + $content = \file_get_contents(__DIR__ . '/../../../../Modules/' . $file); + ?>
getData('nav')->render(); ?> getHtml('OK') : $this->getHtml('NG'); ?>
+