Ticket #408: 408.patch
File 408.patch, 876 bytes (added by , 16 years ago) |
---|
-
commands.php
208 208 { 209 209 $sFilePath = $sServerDir . $sFileName ; 210 210 211 if ( is_file( $sFilePath ) )211 if ( $Config['OverwriteFiles']!=1 && is_file( $sFilePath ) ) 212 212 { 213 213 $iCounter++ ; 214 214 $sFileName = RemoveExtension( $sOriginalFileName ) . '(' . $iCounter . ').' . $sExtension ; -
config.php
72 72 // Used when creating folders that does not exist. 73 73 $Config['ChmodOnFolderCreate'] = 0777 ; 74 74 75 // If set to true, user can overwrite existing file. 76 $Config['OverwriteFiles']=1; 77 75 78 /* 76 79 Configuration settings for each Resource Type 77 80