mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2025-07-29 08:44:11 +02:00
StartupLogRenderer: alias for Util class
Should help to work around PHP bugs in some older versions fixes #1057
This commit is contained in:
parent
496be4fbc8
commit
806bca2555
@ -4,7 +4,7 @@ namespace Icinga\Module\Director;
|
||||
|
||||
use Icinga\Module\Director\Objects\DirectorDeploymentLog;
|
||||
use ipl\Html\Link;
|
||||
use ipl\Html\Util;
|
||||
use ipl\Html\Util as iplUtil;
|
||||
use ipl\Html\ValidHtml;
|
||||
|
||||
class StartupLogRenderer implements ValidHtml
|
||||
@ -20,7 +20,7 @@ class StartupLogRenderer implements ValidHtml
|
||||
public function render()
|
||||
{
|
||||
$deployment = $this->deployment;
|
||||
$log = Util::escapeForHtml($deployment->get('startup_log'));
|
||||
$log = iplUtil::escapeForHtml($deployment->get('startup_log'));
|
||||
$lines = array();
|
||||
$severity = 'information';
|
||||
$sevPattern = '/^(debug|notice|information|warning|critical)\/(\w+)/';
|
||||
|
Loading…
x
Reference in New Issue
Block a user