src/Robo/Commands/Deploy/DeployCommand.php
protected function setMultisiteFilePermissions($perms) {
    $taskFilesystemStack = $this->taskFilesystemStack();
    $multisites = $this->getConfigValue('multisites');
    foreach ($multisites as $multisite) {
      $multisite_dir = $this->getConfigValue('docroot') . '/sites/' . $multisite;
      $taskFilesystemStack->chmod($multisite_dir, $perms);
    }
    $taskFilesystemStack->setVerbosityThreshold(VerbosityThresholdInterface::VERBOSITY_VERBOSE);
    $taskFilesystemStack->run();
  }
protected function setMultisiteFilePermissions($perms) {
    $taskFilesystemStack = $this->taskFilesystemStack();
    $multisites = $this->getConfigValue('multisites');
    foreach ($multisites as $multisite) {
      $multisite_dir = $this->getConfigValue('docroot') . '/sites/' . $multisite;
      $taskFilesystemStack->chmod($multisite_dir, $perms);
    }
    $taskFilesystemStack->setVerbosityThreshold(VerbosityThresholdInterface::VERBOSITY_VERBOSE);
    $taskFilesystemStack->run();
  }
protected function setMultisiteFilePermissions ( $ perms ) { $ taskFilesystemStack = $ this -> taskFilesystemStack ( ) ; $ multisites = $ this -> getConfigValue ( 'multisites' ) ; foreach ( $ multisites as $ multisite ) { $ multisite_dir = $ this -> getConfigValue ( 'docroot' ) . '/sites/' . $ multisite ; $ taskFilesystemStack -> chmod ( $ multisite_dir , $ perms ) ; } $ taskFilesystemStack -> setVerbosityThreshold ( VerbosityThresholdInterface :: VERBOSITY_VERBOSE ) ; $ taskFilesystemStack -> run ( ) ; }
Sets permissions for all multisite directories.
Sets permissions for all multisite directories .