mirror of
https://github.com/Karaka-Management/oms-Monitoring.git
synced 2026-01-11 16:38:40 +00:00
update settings
This commit is contained in:
parent
75a9c9738a
commit
5ec0bb35ae
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -66,6 +66,7 @@ echo $this->getData('nav')->render(); ?>
|
|||
<div class="col-xs-12">
|
||||
<div class="portlet">
|
||||
<div class="portlet-head"><?= $this->getHtml('Inspection'); ?><i class="fa fa-download floatRight download btn"></i></div>
|
||||
<div class="slider">
|
||||
<table id="fileList" class="default">
|
||||
<thead>
|
||||
<tr>
|
||||
|
|
@ -171,8 +172,10 @@ echo $this->getData('nav')->render(); ?>
|
|||
<td><?= $integrity ? $this->getHtml('OK') : $this->getHtml('NG'); ?>
|
||||
<?php endforeach; ?>
|
||||
<?php
|
||||
$files = Directory::listByExtension(__DIR__ . '/../../../../Modules/', 'php', 'tests(\/|\\\)');
|
||||
foreach ($files as $file) : $content = \file_get_contents(__DIR__ . '/../../../../Modules/' . $file); ?>
|
||||
$files = Directory::listByExtension(__DIR__ . '/../../../../Modules/', 'php', 'tests(\/|\\\)');
|
||||
foreach ($files as $file) :
|
||||
$content = \file_get_contents(__DIR__ . '/../../../../Modules/' . $file);
|
||||
?>
|
||||
<tr>
|
||||
<td><?= ($unicode = PhpCode::hasUnicode($content)) || ($deprecated = PhpCode::hasDeprecatedFunction($content)) || !($integrity = PhpCode::validateFileIntegrity(
|
||||
__DIR__ . '/../../../../Modules/' . $file,
|
||||
|
|
@ -185,6 +188,7 @@ echo $this->getData('nav')->render(); ?>
|
|||
<td><?= $integrity ? $this->getHtml('OK') : $this->getHtml('NG'); ?>
|
||||
<?php endforeach; ?>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user