ForkCMS\Bundle\InstallerBundle\Service\RequirementsChecker::checkSubFolder PHP Метод

checkSubFolder() защищенный Метод

Fork can't be installed in subfolders, so we should check that.
protected checkSubFolder ( )
    protected function checkSubFolder()
    {
        if (array_key_exists('REQUEST_URI', $_SERVER)) {
            $this->checkRequirement('subfolder', mb_substr($_SERVER['REQUEST_URI'], 0, 8) == '/install', self::STATUS_ERROR);
        } else {
            $this->checkRequirement('subfolder', true, self::STATUS_ERROR);
        }
    }