skeeks\cms\checks\SecurityApacheCheck::run PHP Method

run() public method

public run ( )
    public function run()
    {
        if (function_exists('apache_get_modules')) {
            $arLoaded = apache_get_modules();
            if (in_array('mod_security', $arLoaded)) {
                $this->addError(\Yii::t('skeeks/cms', "Loaded module {m}, there may be problems in the work administrative part", ['m' => 'mod_security']));
            }
            if (in_array('mod_dav', $arLoaded) || in_array('mod_dav_fs', $arLoaded)) {
                $this->addError(\Yii::t('skeeks/cms', 'Loaded module {m}, {m1} will not work', ['m' => 'mod_dav/mod_dav_fs', 'm1' => 'WebDav']));
            }
        }
    }
SecurityApacheCheck