Changeset 285

Show
Ignore:
Timestamp:
2007-05-04 22:48:02 (3 years ago)
Author:
alfonsoml
Message:

Fix for #416, the php quickupload didn't test for the existence of the destination folder.

Location:
FCKeditor/trunk
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • FCKeditor/trunk/editor/filemanager/upload/php/upload.php

    r284 r285  
    8989        $sServerDir .= strtolower($sType) . '/' ; 
    9090 
     91//check for the directory before uploading the file 
     92if(!is_dir($sServerDir)) 
     93{ 
     94    mkdir($sServerDir); 
     95}  
     96 
    9197while ( true ) 
    9298{ 
  • FCKeditor/trunk/_whatsnew.html

    r284 r285  
    7272                <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/274">#274</a>] The PHP quick upload 
    7373                        still tried to use the Upercase types instead of lowercase.</li> 
     74                <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/416">#416</a>] The PHP quick upload 
     75                        didn't check for the existence of the folder before saving.</li> 
    7476        </ul> 
    7577        <h3>