Line 127... |
Line 127... |
127 |
// ATTENTION : suppression des formats d'images et média
|
127 |
// ATTENTION : suppression des formats d'images et média
|
128 |
$Config['AllowedExtensions']['File'] = array('7z', 'csv', 'doc', 'gz', 'gzip', 'ods', 'odt', 'pdf', 'ppt', 'pxd', 'qt', 'ram', 'rar', 'rm', 'rmi', 'rmvb', 'rtf', 'sdc', 'sitd', 'sxc', 'sxw', 'tar', 'tgz', 'txt', 'vsd', 'xls', 'xml', 'zip') ;
|
128 |
$Config['AllowedExtensions']['File'] = array('7z', 'csv', 'doc', 'gz', 'gzip', 'ods', 'odt', 'pdf', 'ppt', 'pxd', 'qt', 'ram', 'rar', 'rm', 'rmi', 'rmvb', 'rtf', 'sdc', 'sitd', 'sxc', 'sxw', 'tar', 'tgz', 'txt', 'vsd', 'xls', 'xml', 'zip') ;
|
129 |
$Config['DeniedExtensions']['File'] = array() ;
|
129 |
$Config['DeniedExtensions']['File'] = array() ;
|
130 |
$Config['FileTypesPath']['File'] = $Config['UserFilesPath'] . 'documents/' ;
|
130 |
$Config['FileTypesPath']['File'] = $Config['UserFilesPath'] . 'documents/' ;
|
131 |
$Config['FileTypesAbsolutePath']['File']= ($Config['UserFilesAbsolutePath'] == '') ? '' : $Config['UserFilesAbsolutePath'].'documents/' ;
|
131 |
$Config['FileTypesAbsolutePath']['File']= ($Config['UserFilesAbsolutePath'] == '') ? '' : $Config['UserFilesAbsolutePath'].'documents/' ;
|
132 |
$Config['QuickUploadPath']['File'] = $Config['UserFilesPath'] ;
|
132 |
$Config['QuickUploadPath']['File'] = $Config['FileTypesPath']['File'] ;
|
133 |
$Config['QuickUploadAbsolutePath']['File']= $Config['UserFilesAbsolutePath'] ;
|
133 |
$Config['QuickUploadAbsolutePath']['File']= $Config['FileTypesAbsolutePath']['File'] ;
|
Line 134... |
Line 134... |
134 |
|
134 |
|
135 |
$Config['AllowedExtensions']['Image'] = array('bmp','gif','jpeg','jpg','png','tiff','tif') ;
|
135 |
$Config['AllowedExtensions']['Image'] = array('bmp','gif','jpeg','jpg','png','tiff','tif') ;
|
136 |
$Config['DeniedExtensions']['Image'] = array() ;
|
136 |
$Config['DeniedExtensions']['Image'] = array() ;
|
137 |
$Config['FileTypesPath']['Image'] = $Config['UserFilesPath'] . 'images/' ;
|
137 |
$Config['FileTypesPath']['Image'] = $Config['UserFilesPath'] . 'images/' ;
|
138 |
$Config['FileTypesAbsolutePath']['Image']= ($Config['UserFilesAbsolutePath'] == '') ? '' : $Config['UserFilesAbsolutePath'].'images/' ;
|
138 |
$Config['FileTypesAbsolutePath']['Image']= ($Config['UserFilesAbsolutePath'] == '') ? '' : $Config['UserFilesAbsolutePath'].'images/' ;
|
139 |
$Config['QuickUploadPath']['Image'] = $Config['UserFilesPath'] ;
|
139 |
$Config['QuickUploadPath']['Image'] = $Config['FileTypesPath']['Image'] ;
|
Line 140... |
Line 140... |
140 |
$Config['QuickUploadAbsolutePath']['Image']= $Config['UserFilesAbsolutePath'] ;
|
140 |
$Config['QuickUploadAbsolutePath']['Image']= $Config['FileTypesAbsolutePath']['Image'] ;
|
141 |
|
141 |
|
142 |
$Config['AllowedExtensions']['Flash'] = array('swf','flv') ;
|
142 |
$Config['AllowedExtensions']['Flash'] = array('swf','flv') ;
|
143 |
$Config['DeniedExtensions']['Flash'] = array() ;
|
143 |
$Config['DeniedExtensions']['Flash'] = array() ;
|
144 |
$Config['FileTypesPath']['Flash'] = $Config['UserFilesPath'] . 'flash/' ;
|
144 |
$Config['FileTypesPath']['Flash'] = $Config['UserFilesPath'] . 'flash/' ;
|
145 |
$Config['FileTypesAbsolutePath']['Flash']= ($Config['UserFilesAbsolutePath'] == '') ? '' : $Config['UserFilesAbsolutePath'].'flash/' ;
|
145 |
$Config['FileTypesAbsolutePath']['Flash']= ($Config['UserFilesAbsolutePath'] == '') ? '' : $Config['UserFilesAbsolutePath'].'flash/' ;
|
146 |
$Config['QuickUploadPath']['Flash'] = $Config['UserFilesPath'] ;
|
146 |
$Config['QuickUploadPath']['Flash'] = $Config['FileTypesPath']['Flash'] ;
|
147 |
$Config['QuickUploadAbsolutePath']['Flash']= $Config['UserFilesAbsolutePath'] ;
|
147 |
$Config['QuickUploadAbsolutePath']['Flash']= $Config['FileTypesAbsolutePath']['Flash'] ;
|
148 |
// ATTENTION : suppression des formats d'images
|
148 |
// ATTENTION : suppression des formats d'images
|
149 |
$Config['AllowedExtensions']['Media'] = array('aiff', 'asf', 'avi', 'fla', 'flv', 'mid', 'mov', 'mp3', 'mp4', 'mpc', 'mpeg', 'mpg', 'swf', 'wav', 'wma', 'wmv') ;
|
149 |
$Config['AllowedExtensions']['Media'] = array('aiff', 'asf', 'avi', 'fla', 'flv', 'mid', 'mov', 'mp3', 'mp4', 'mpc', 'mpeg', 'mpg', 'swf', 'wav', 'wma', 'wmv') ;
|
150 |
$Config['DeniedExtensions']['Media'] = array() ;
|
150 |
$Config['DeniedExtensions']['Media'] = array() ;
|
151 |
$Config['FileTypesPath']['Media'] = $Config['UserFilesPath'] . 'media/' ;
|
151 |
$Config['FileTypesPath']['Media'] = $Config['UserFilesPath'] . 'media/' ;
|
152 |
$Config['FileTypesAbsolutePath']['Media']= ($Config['UserFilesAbsolutePath'] == '') ? '' : $Config['UserFilesAbsolutePath'].'media/' ;
|
152 |
$Config['FileTypesAbsolutePath']['Media']= ($Config['UserFilesAbsolutePath'] == '') ? '' : $Config['UserFilesAbsolutePath'].'media/' ;
|
Line 153... |
Line 153... |
153 |
$Config['QuickUploadPath']['Media'] = $Config['UserFilesPath'] ;
|
153 |
$Config['QuickUploadPath']['Media'] = $Config['FileTypesPath']['Media'] ;
|