private function prepareTargetUploadPath($path = null)
    {
        $absoluteTargetPath = implode('/', array_filter([
            rtrim($this->uploadpath, '/'), trim(dirname($path), '/'),
        ]));

        $this->results['path'] = $absoluteTargetPath;
        $this->results['dir'] = $this->getRelativePath($absoluteTargetPath);

        return $this->createDirectoryIfNotExists($absoluteTargetPath);
    }
private function prepareTargetUploadPath($path = null)
    {
        $absoluteTargetPath = implode('/', array_filter([
            rtrim($this->uploadpath, '/'), trim(dirname($path), '/'),
        ]));

        $this->results['path'] = $absoluteTargetPath;
        $this->results['dir'] = $this->getRelativePath($absoluteTargetPath);

        return $this->createDirectoryIfNotExists($absoluteTargetPath);
    }
private function prepareTargetUploadPath ( $ path = null ) { $ absoluteTargetPath = implode ( '/' , array_filter ( [ rtrim ( $ this -> uploadpath , '/' ) , trim ( dirname ( $ path ) , '/' ) , ] ) ) ; $ this -> results [ 'path' ] = $ absoluteTargetPath ; $ this -> results [ 'dir' ] = $ this -> getRelativePath ( $ absoluteTargetPath ) ; return $ this -> createDirectoryIfNotExists ( $ absoluteTargetPath ) ; }
Set target upload path.

@access private
@param  string $path (default: null)
@return bool
Set target upload path .