skeeks\cms\checks\SecurityApacheCheck::init PHP 메소드

init() 공개 메소드

public init ( )
    public function init()
    {
        $this->name = \Yii::t('skeeks/cms', "Web-server modules");
        $txt = \Yii::t('skeeks/cms', 'Apache mod_security module like module php suhosin designed to protect the site from hackers, but in practice it often interferes with normal operation of the site. It is recommended to turn it off, instead, to use the module of proactive protection Skeeks CMS.');
        $this->description = <<<HTML
<p>
{$txt}
</p>
HTML;
        $this->errorText = \Yii::t('skeeks/cms', 'Identified conflicts');
        $this->successText = \Yii::t('skeeks/cms', "No conflicts found");
        parent::init();
    }
SecurityApacheCheck