Index: /FCKeditor/branches/developers/alfonsoml/editor/filemanager/connectors/php/io.php
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/editor/filemanager/connectors/php/io.php	(revision 319)
+++ /FCKeditor/branches/developers/alfonsoml/editor/filemanager/connectors/php/io.php	(revision 320)
@@ -41,4 +41,12 @@
 	if ( $sCommand == "QuickUpload") 
 	{
+		if ( strlen( $Config['QuickUploadAbsolutePath'][$resourceType] ) > 0 )
+			return $Config['QuickUploadAbsolutePath'][$resourceType] ;
+
+		// Map the "UserFiles" path to a local directory.
+		return GetRootPath() . $Config['QuickUploadPath'][$resourceType] ;
+	}
+	else
+	{
 		if ( strlen( $Config['FileTypesAbsolutePath'][$resourceType] ) > 0 )
 			return $Config['FileTypesAbsolutePath'][$resourceType] ;
@@ -47,12 +55,4 @@
 		return GetRootPath() . $Config['FileTypesPath'][$resourceType] ;
 	}
-	else
-	{
-		if ( strlen( $Config['QuickUploadAbsolutePath'][$resourceType] ) > 0 )
-			return $Config['QuickUploadAbsolutePath'][$resourceType] ;
-
-		// Map the "UserFiles" path to a local directory.
-		return GetRootPath() . $Config['QuickUploadPath'][$resourceType] ;
-	}
 }
 
@@ -98,7 +98,5 @@
 	if ( !file_exists( $sParent ) )
 	{
-		$sErrorMsg = CreateServerFolder( $sParent ) ;
-		if ( $sErrorMsg != '' )
-			return $sErrorMsg ;
+		CreateServerFolder( $sParent ) ;
 	}
 
@@ -123,8 +121,8 @@
 		ini_restore( 'error_reporting' ) ;
 
-		return $sErrorMsg ;
-	}
-	else
-		return '' ;
+		if ( $sErrorMsg != '') 
+				SendError("1", "CreateServerFolder(" . $folderPath . ") : " . $sErrorMsg);
+
+	}
 }
 
