public function setReleasesDirectory($releasesDirectory)
    {
        if (preg_match('/(^|\/)\.\.(\/|$)/', $releasesDirectory)) {
            throw new InvalidConfigurationException(
                sprintf('"../" is not allowed in the releases directory "%s"', $releasesDirectory),
                1380870750
            );
        }
        $this->releasesDirectory = trim($releasesDirectory, '/');
        return $this;
    }
public function setReleasesDirectory($releasesDirectory)
    {
        if (preg_match('/(^|\/)\.\.(\/|$)/', $releasesDirectory)) {
            throw new InvalidConfigurationException(
                sprintf('"../" is not allowed in the releases directory "%s"', $releasesDirectory),
                1380870750
            );
        }
        $this->releasesDirectory = trim($releasesDirectory, '/');
        return $this;
    }
public function setReleasesDirectory ( $ releasesDirectory ) { if ( preg_match ( '/(^|\/)\.\.(\/|$)/' , $ releasesDirectory ) ) { throw new InvalidConfigurationException ( sprintf ( '"../" is not allowed in the releases directory "%s"' , $ releasesDirectory ) , 1380870750 ) ; } $ this -> releasesDirectory = trim ( $ releasesDirectory , '/' ) ; return $ this ; }
Sets the releases directory

@param string $releasesDirectory
@return \TYPO3\Surf\Domain\Model\Application The current instance for chaining
Sets the releases directory