mirror of
https://github.com/Karaka-Management/oms-Monitoring.git
synced 2026-02-09 05:58:40 +00:00
code fixes
This commit is contained in:
parent
65c4f08adf
commit
e6f0553c4d
|
|
@ -14,7 +14,6 @@ declare(strict_types=1);
|
||||||
|
|
||||||
namespace Modules\Monitoring\Controller;
|
namespace Modules\Monitoring\Controller;
|
||||||
|
|
||||||
use Modules\Admin\Models\SettingsEnum;
|
|
||||||
use phpOMS\Contract\RenderableInterface;
|
use phpOMS\Contract\RenderableInterface;
|
||||||
use phpOMS\Message\Mail\Email;
|
use phpOMS\Message\Mail\Email;
|
||||||
use phpOMS\Message\RequestAbstract;
|
use phpOMS\Message\RequestAbstract;
|
||||||
|
|
@ -53,7 +52,7 @@ final class CliController extends Controller
|
||||||
$hasErrorReport = \is_file($file = __DIR__ . '/../../../Logs/' . $today->format('Y-m-d') . '.log');
|
$hasErrorReport = \is_file($file = __DIR__ . '/../../../Logs/' . $today->format('Y-m-d') . '.log');
|
||||||
|
|
||||||
// @todo define report email template
|
// @todo define report email template
|
||||||
$mail = new Email();
|
$mail = new Email();
|
||||||
$status = $this->app->moduleManager->get('Admin', 'Api')->setupEmailDefaults($mail);
|
$status = $this->app->moduleManager->get('Admin', 'Api')->setupEmailDefaults($mail);
|
||||||
|
|
||||||
$mail->addTo($mail->from[0]);
|
$mail->addTo($mail->from[0]);
|
||||||
|
|
|
||||||
|
|
@ -67,6 +67,6 @@ return ['Monitoring' => [
|
||||||
'Uri' => 'Uri',
|
'Uri' => 'Uri',
|
||||||
'Version' => 'Ausführung',
|
'Version' => 'Ausführung',
|
||||||
'Warnings' => 'Warnungen',
|
'Warnings' => 'Warnungen',
|
||||||
'WarningLogReport' => 'Wenn Sie dieses Protokoll melden, achten Sie bitte darauf, dass keine vertraulichen und persönlichen Daten übermittelt werden.
|
'WarningLogReport' => 'Wenn Sie dieses Protokoll melden, achten Sie bitte darauf, dass keine vertraulichen und persönlichen Daten übermittelt werden.
|
||||||
',
|
',
|
||||||
]];
|
]];
|
||||||
|
|
|
||||||
|
|
@ -67,5 +67,5 @@ return ['Monitoring' => [
|
||||||
'Uri' => 'Uri',
|
'Uri' => 'Uri',
|
||||||
'Version' => 'Version',
|
'Version' => 'Version',
|
||||||
'Warnings' => 'Warnings',
|
'Warnings' => 'Warnings',
|
||||||
'WarningLogReport' => 'When you report this log, please make sure no confidential and personal data is submitted.',
|
'WarningLogReport' => 'When you report this log, please make sure no confidential and personal data is submitted.',
|
||||||
]];
|
]];
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user