public function writeHtAccess($selfedit = 'false')
    {
        if ($selfedit == 'true') {
            $moufManager = MoufManager::getMoufManager();
        } else {
            $moufManager = MoufManager::getMoufManagerHiddenInstance();
        }

        $this->exludeExtentions = $moufManager->getVariable('splashexludeextentions');
        $this->exludeFolders = $moufManager->getVariable('splashexludefolders');
        if (empty($this->exludeExtentions)) {
            $this->exludeExtentions = array('js', 'ico', 'gif', 'jpg', 'png', 'css', 'woff', 'ttf', 'svg', 'eot', 'map');
        }
        if (empty($this->exludeFolders)) {
            $this->exludeFolders = array('vendor');
        }

        $this->splashGenerateService->writeHtAccess($this->exludeExtentions, $this->exludeFolders);

        InstallUtils::continueInstall($selfedit == 'true');
    }
public function writeHtAccess($selfedit = 'false')
    {
        if ($selfedit == 'true') {
            $moufManager = MoufManager::getMoufManager();
        } else {
            $moufManager = MoufManager::getMoufManagerHiddenInstance();
        }

        $this->exludeExtentions = $moufManager->getVariable('splashexludeextentions');
        $this->exludeFolders = $moufManager->getVariable('splashexludefolders');
        if (empty($this->exludeExtentions)) {
            $this->exludeExtentions = array('js', 'ico', 'gif', 'jpg', 'png', 'css', 'woff', 'ttf', 'svg', 'eot', 'map');
        }
        if (empty($this->exludeFolders)) {
            $this->exludeFolders = array('vendor');
        }

        $this->splashGenerateService->writeHtAccess($this->exludeExtentions, $this->exludeFolders);

        InstallUtils::continueInstall($selfedit == 'true');
    }
public function writeHtAccess ( $ selfedit = 'false' ) { if ( $ selfedit == 'true' ) { $ moufManager = MoufManager :: getMoufManager ( ) ; } else { $ moufManager = MoufManager :: getMoufManagerHiddenInstance ( ) ; } $ this -> exludeExtentions = $ moufManager -> getVariable ( 'splashexludeextentions' ) ; $ this -> exludeFolders = $ moufManager -> getVariable ( 'splashexludefolders' ) ; if ( empty ( $ this -> exludeExtentions ) ) { $ this -> exludeExtentions = array ( 'js' , 'ico' , 'gif' , 'jpg' , 'png' , 'css' , 'woff' , 'ttf' , 'svg' , 'eot' , 'map' ) ; } if ( empty ( $ this -> exludeFolders ) ) { $ this -> exludeFolders = array ( 'vendor' ) ; } $ this -> splashGenerateService -> writeHtAccess ( $ this -> exludeExtentions , $ this -> exludeFolders ) ; InstallUtils :: continueInstall ( $ selfedit == 'true' ) ; }
Write .htaccess.

@Action

@param string $selfedit
Write . htaccess .