protected function createTargetDirectory($path)
    {
        $directory = dirname($path);
        if (!file_exists($directory)) {
            if (!is_writeable($this->getExistingPath($directory))) {
                throw new Exception('The directory "' . $directory . '" isn\'t writeable!');
            }
            
            mkdir($directory, 0755, true);
        }
    }
protected function createTargetDirectory($path)
    {
        $directory = dirname($path);
        if (!file_exists($directory)) {
            if (!is_writeable($this->getExistingPath($directory))) {
                throw new Exception('The directory "' . $directory . '" isn\'t writeable!');
            }
            
            mkdir($directory, 0755, true);
        }
    }
protected function createTargetDirectory ( $ path ) { $ directory = dirname ( $ path ) ; if ( ! file_exists ( $ directory ) ) { if ( ! is_writeable ( $ this -> getExistingPath ( $ directory ) ) ) { throw new Exception ( 'The directory "' . $ directory . '" isn\'t writeable!' ) ; } mkdir ( $ directory , 0755 , true ) ; } }
Creates the target directory

@access protected
@param string $path

@throws \Zepi\Turbo\Exception The directory "{directory}" doesn't exists
Creates the target directory