Changeset 284

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

Fix for #274, php upload didn't lowercase the file types.

Location:
FCKeditor/trunk
Files:
2 modified

Legend:

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

    r132 r284  
    8787 
    8888if ( $Config['UseFileType'] ) 
    89         $sServerDir .= $sType . '/' ; 
     89        $sServerDir .= strtolower($sType) . '/' ; 
    9090 
    9191while ( true ) 
     
    113113 
    114114                if ( $Config['UseFileType'] ) 
    115                         $sFileUrl = $Config["UserFilesPath"] . $sType . '/' . $sFileName ; 
     115                        $sFileUrl = $Config["UserFilesPath"] . strtolower($sType) . '/' . $sFileName ; 
    116116                else 
    117117                        $sFileUrl = $Config["UserFilesPath"] . $sFileName ; 
  • FCKeditor/trunk/_whatsnew.html

    r283 r284  
    7070                <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/430">#430</a>] Links with a class 
    7171                        did generate a span in Firefox when removing them.</li> 
     72                <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/274">#274</a>] The PHP quick upload 
     73                        still tried to use the Upercase types instead of lowercase.</li> 
    7274        </ul> 
    7375        <h3>