Show
Ignore:
Timestamp:
2008-02-25 17:54:16 (9 months ago)
Author:
fredck
Message:

Several minor fixes, preparing the trunk for the release of FCKeditor 2.6 Beta 1:

  • Fixed lint warnings.
  • Configured the lint config to ignore @cc comments.
  • "What's New?" spell check and formatting.
  • Run fixlineends.bat
Files:
1 modified

Legend:

Unmodified
Added
Removed
  • FCKeditor/trunk/editor/filemanager/connectors/php/commands.php

    r1625 r1629  
    193193                if ( isset( $Config['HtmlExtensions'] ) ) 
    194194                { 
    195                         if ( !IsHtmlExtension( $sExtension, $Config['HtmlExtensions'] ) &&  
     195                        if ( !IsHtmlExtension( $sExtension, $Config['HtmlExtensions'] ) && 
    196196                                ( $detectHtml = DetectHtml( $oFile['tmp_name'] ) ) === true ) 
    197197                        { 
     
    225225                                                        break ; 
    226226                                                } 
    227                                                  
     227 
    228228                                                $permissions = 0777; 
    229                                                  
     229 
    230230                                                if ( isset( $Config['ChmodOnUpload'] ) && $Config['ChmodOnUpload'] ) 
    231231                                                { 
    232232                                                        $permissions = $Config['ChmodOnUpload'] ; 
    233233                                                } 
    234                                                  
     234 
    235235                                                $oldumask = umask(0) ; 
    236236                                                chmod( $sFilePath, $permissions ) ; 
     
    241241                                } 
    242242                        } 
    243                          
     243 
    244244                        if ( file_exists( $sFilePath ) ) 
    245245                        { 
     
    253253                                { 
    254254                                        @unlink( $sFilePath ) ; 
    255                                         $sErrorNumber = '202' ;                                  
     255                                        $sErrorNumber = '202' ; 
    256256                                } 
    257257                        }