Show
Ignore:
Timestamp:
2007-05-30 21:36:32 (20 months ago)
Author:
fredck
Message:

Many fixes:

  • \r\n will always be used for the compressed files generation.
  • applied changes that were wrongly done exclusively on FCKrelease with [226].
  • typos and small layout fixes.
Files:
1 modified

Legend:

Unmodified
Added
Removed
  • FCKpackager/trunk/_source/includes/fckpreprocessor.inc

    r156 r335  
    2929        function ProcessFile( $sourceFilePath, $destinationFilePath, $onlyHeader = FALSE ) 
    3030        { 
    31                 SaveStringToUtf8File( 
     31                SaveStringToFile( 
    3232                        FCKPreProcessor::Process( file_get_contents( $sourceFilePath ), $onlyHeader ), 
    3333                        $destinationFilePath, 
    34                         ( !StrEndsWith( $sourceFilePath, '.asp' ) && !StrEndsWith( $sourceFilePath, '.js' ) ) ) ;       // Only ASP and JavaScript files require the BOM. 
     34                        ( StrEndsWith( $sourceFilePath, '.asp' ) || StrEndsWith( $sourceFilePath, '.js' ) ) ) ; // Only ASP and JavaScript files require the BOM. 
    3535 
    3636                // Set the destination file Last Access and Last Write times.