- Timestamp:
- 2008-02-25 17:54:16 (9 months ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
FCKeditor/trunk/editor/filemanager/connectors/php/commands.php
r1625 r1629 193 193 if ( isset( $Config['HtmlExtensions'] ) ) 194 194 { 195 if ( !IsHtmlExtension( $sExtension, $Config['HtmlExtensions'] ) && 195 if ( !IsHtmlExtension( $sExtension, $Config['HtmlExtensions'] ) && 196 196 ( $detectHtml = DetectHtml( $oFile['tmp_name'] ) ) === true ) 197 197 { … … 225 225 break ; 226 226 } 227 227 228 228 $permissions = 0777; 229 229 230 230 if ( isset( $Config['ChmodOnUpload'] ) && $Config['ChmodOnUpload'] ) 231 231 { 232 232 $permissions = $Config['ChmodOnUpload'] ; 233 233 } 234 234 235 235 $oldumask = umask(0) ; 236 236 chmod( $sFilePath, $permissions ) ; … … 241 241 } 242 242 } 243 243 244 244 if ( file_exists( $sFilePath ) ) 245 245 { … … 253 253 { 254 254 @unlink( $sFilePath ) ; 255 $sErrorNumber = '202' ; 255 $sErrorNumber = '202' ; 256 256 } 257 257 }