skeeks\cms\checks\ServerVarsCheck::init PHP Method

init() public method

public init ( )
    public function init()
    {
        $this->name = \Yii::t('skeeks/cms', "The values of server variables");
        $txt1 = \Yii::t('skeeks/cms', 'Check the values of variables defined by the web server.');
        $txt2 = \Yii::t('skeeks/cms', 'value HTTP_HOST is taken based on the name of this virtual host (domain). Invalid domain leads to the fact that some browsers (ie, Internet Explorer 6) refuse to maintain his cookie, as a consequence - not stored authorization.');
        $this->description = <<<HTML
<p>
{$txt1}
</p>
<p>
{$txt2}
</p>
HTML;
        $this->errorText = \Yii::t('skeeks/cms', "Incorrect");
        $this->successText = \Yii::t('skeeks/cms', 'Correct');
        parent::init();
    }
ServerVarsCheck