- Timestamp:
- 2007-03-27 17:58:03 (19 months ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
FCKreleaser/trunk/_source/includes/fckpackager/fckpreprocessor.inc
r159 r226 29 29 function ProcessFile( $sourceFilePath, $destinationFilePath, $onlyHeader = FALSE ) 30 30 { 31 SaveStringTo Utf8File(31 SaveStringToFile( 32 32 FCKPreProcessor::Process( file_get_contents( $sourceFilePath ), $onlyHeader ), 33 33 $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. 35 35 36 36 // Set the destination file Last Access and Last Write times.