Index: /FCKeditor/trunk/_whatsnew.html
===================================================================
--- /FCKeditor/trunk/_whatsnew.html (revision 284)
+++ /FCKeditor/trunk/_whatsnew.html (revision 285)
@@ -72,4 +72,6 @@
[#274] The PHP quick upload
still tried to use the Upercase types instead of lowercase.
+ [#416] The PHP quick upload
+ didn't check for the existence of the folder before saving.
Index: /FCKeditor/trunk/editor/filemanager/upload/php/upload.php
===================================================================
--- /FCKeditor/trunk/editor/filemanager/upload/php/upload.php (revision 284)
+++ /FCKeditor/trunk/editor/filemanager/upload/php/upload.php (revision 285)
@@ -89,4 +89,10 @@
$sServerDir .= strtolower($sType) . '/' ;
+//check for the directory before uploading the file
+if(!is_dir($sServerDir))
+{
+ mkdir($sServerDir);
+}
+
while ( true )
{