Index: /FCKeditor/branches/developers/alfonsoml/editor/filemanager/connectors/php/io.php
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/editor/filemanager/connectors/php/io.php	(revision 292)
+++ /FCKeditor/branches/developers/alfonsoml/editor/filemanager/connectors/php/io.php	(revision 293)
@@ -24,6 +24,4 @@
 function CombinePaths( $sBasePath, $sFolder )
 {
-	global $Config ;
-
 	return RemoveFromEnd( $sBasePath, '/' ) . '/' . RemoveFromStart( $sFolder, '/' ) ;
 }
@@ -95,4 +93,6 @@
 		// Turn off all error reporting.
 		error_reporting( 0 ) ;
+
+		$php_errormsg = '' ;
 		// Enable error tracking to catch the error.
 		ini_set( 'track_errors', '1' ) ;
@@ -187,5 +187,4 @@
 
 	// Remove . \ / | : ? *
-//	$sNewFolderName = preg_replace( '(\.|\\|\/|\||:|\?|\*)', '_', $sNewFolderName ) ;
 	$sNewFolderName = preg_replace( '/\\.|\\\\|\\/|\\||\\:|\\?|\\*/', '_', $sNewFolderName ) ;
 
