protected function createDummyUploadFolder()
    {
        $uploadFolderPath = $this->getUploadFolderPath();
        if (is_dir($uploadFolderPath)) {
            return;
        }

        $creationSuccessful = GeneralUtility::mkdir($uploadFolderPath);
        if (!$creationSuccessful) {
            throw new \RuntimeException(
                'The upload folder ' . $uploadFolderPath . ' could not be created.',
                1334439408
            );
        }

        $this->dummyFolders['uploadFolder'] = $uploadFolderPath;
    }
protected function createDummyUploadFolder()
    {
        $uploadFolderPath = $this->getUploadFolderPath();
        if (is_dir($uploadFolderPath)) {
            return;
        }

        $creationSuccessful = GeneralUtility::mkdir($uploadFolderPath);
        if (!$creationSuccessful) {
            throw new \RuntimeException(
                'The upload folder ' . $uploadFolderPath . ' could not be created.',
                1334439408
            );
        }

        $this->dummyFolders['uploadFolder'] = $uploadFolderPath;
    }
protected function createDummyUploadFolder ( ) { $ uploadFolderPath = $ this -> getUploadFolderPath ( ) ; if ( is_dir ( $ uploadFolderPath ) ) { return ; } $ creationSuccessful = GeneralUtility :: mkdir ( $ uploadFolderPath ) ; if ( ! $ creationSuccessful ) { throw new \ RuntimeException ( 'The upload folder ' . $ uploadFolderPath . ' could not be created.' , 1334439408 ) ; } $ this -> dummyFolders [ 'uploadFolder' ] = $ uploadFolderPath ; }
Creates the upload folder if it does not exist yet.

@return void

@throws \RuntimeException
Creates the upload folder if it does not exist yet .