public function getUploadPath()
    {
        $relativePath = date('Y/m');
        $fullPath = upload_path($relativePath);

        $this->makeUploadPath($fullPath);

        return [$fullPath, $relativePath];
    }
public function getUploadPath()
    {
        $relativePath = date('Y/m');
        $fullPath = upload_path($relativePath);

        $this->makeUploadPath($fullPath);

        return [$fullPath, $relativePath];
    }
public function getUploadPath ( ) { $ relativePath = date ( 'Y/m' ) ; $ fullPath = upload_path ( $ relativePath ) ; $ this -> makeUploadPath ( $ fullPath ) ; return [ $ fullPath , $ relativePath ] ; }
Returns the current upload directory

@return string
Returns the current upload directory