Subversion Repositories Applications.papyrus

Rev

Rev 1921 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1921 Rev 1922
Line 29... Line 29...
29
//		authenticated users can access this file or use some kind of session checking.
29
//		authenticated users can access this file or use some kind of session checking.
30
$Config['Enabled'] = true ;
30
$Config['Enabled'] = true ;
Line 31... Line 31...
31
 
31
 
-
 
32
 
-
 
33
// Path to user files relative to the document root.
32
 
34
// TODO : l'installateur devrait configure ce fichier et la variable $Config['UserFilesPath']  
Line 33... Line 35...
33
// Path to user files relative to the document root.
35
// ATTENTION : Mettre ici l'url du site : http://www.tela-botanica.org/sites/commun/generique/
34
$Config['UserFilesPath'] = '/sites/commun/generique/fckeditor' ;
36
$Config['UserFilesPath'] = '' ;
35
 
37
 
36
// Fill the following value it you prefer to specify the absolute path for the
38
// Fill the following value it you prefer to specify the absolute path for the
-
 
39
// user files directory. Useful if you are using a virtual directory, symbolic
-
 
40
// link or alias. Examples: 'C:\\MySite\\userfiles\\' or '/root/mysite/userfiles/'.
37
// user files directory. Useful if you are using a virtual directory, symbolic
41
// Attention: The above 'UserFilesPath' must point to the same directory.
Line 38... Line 42...
38
// link or alias. Examples: 'C:\\MySite\\userfiles\\' or '/root/mysite/userfiles/'.
42
// TODO : l'installateur devrait configure ce fichier et la variable $Config['UserFilesAbsolutePath']
39
// Attention: The above 'UserFilesPath' must point to the same directory.
43
// ATTENTION : Mettre ici le chemin absolu du site : /home/telabotap/www/sites/commun/generique/
40
$Config['UserFilesAbsolutePath'] = '' ;
44
$Config['UserFilesAbsolutePath'] = '' ;
Line 120... Line 124...
120
 
124
 
Line 121... Line 125...
121
*/
125
*/
122
 
126
 
123
$Config['AllowedExtensions']['File']	= array('7z', 'aiff', 'asf', 'avi', 'bmp', 'csv', 'doc', 'fla', 'flv', 'gif', 'gz', 'gzip', 'jpeg', 'jpg', 'mid', 'mov', 'mp3', 'mp4', 'mpc', 'mpeg', 'mpg', 'ods', 'odt', 'pdf', 'png', 'ppt', 'pxd', 'qt', 'ram', 'rar', 'rm', 'rmi', 'rmvb', 'rtf', 'sdc', 'sitd', 'swf', 'sxc', 'sxw', 'tar', 'tgz', 'tif', 'tiff', 'txt', 'vsd', 'wav', 'wma', 'wmv', 'xls', 'xml', 'zip') ;
127
$Config['AllowedExtensions']['File']	= array('7z', 'aiff', 'asf', 'avi', 'bmp', 'csv', 'doc', 'fla', 'flv', 'gif', 'gz', 'gzip', 'jpeg', 'jpg', 'mid', 'mov', 'mp3', 'mp4', 'mpc', 'mpeg', 'mpg', 'ods', 'odt', 'pdf', 'png', 'ppt', 'pxd', 'qt', 'ram', 'rar', 'rm', 'rmi', 'rmvb', 'rtf', 'sdc', 'sitd', 'swf', 'sxc', 'sxw', 'tar', 'tgz', 'tif', 'tiff', 'txt', 'vsd', 'wav', 'wma', 'wmv', 'xls', 'xml', 'zip') ;
124
$Config['DeniedExtensions']['File']		= array() ;
128
$Config['DeniedExtensions']['File']		= array() ;
125
$Config['FileTypesPath']['File']		= $Config['UserFilesPath'] . 'file/' ;
129
$Config['FileTypesPath']['File']		= $Config['UserFilesPath'] . 'documents/' ;
126
$Config['FileTypesAbsolutePath']['File']= ($Config['UserFilesAbsolutePath'] == '') ? '' : $Config['UserFilesAbsolutePath'].'file/' ;
130
$Config['FileTypesAbsolutePath']['File']= ($Config['UserFilesAbsolutePath'] == '') ? '' : $Config['UserFilesAbsolutePath'].'file/' ;
Line 127... Line 131...
127
$Config['QuickUploadPath']['File']		= $Config['UserFilesPath'] ;
131
$Config['QuickUploadPath']['File']		= $Config['UserFilesPath'] ;
128
$Config['QuickUploadAbsolutePath']['File']= $Config['UserFilesAbsolutePath'] ;
132
$Config['QuickUploadAbsolutePath']['File']= $Config['UserFilesAbsolutePath'] ;
129
 
133
 
130
$Config['AllowedExtensions']['Image']	= array('bmp','gif','jpeg','jpg','png') ;
134
$Config['AllowedExtensions']['Image']	= array('bmp','gif','jpeg','jpg','png') ;
131
$Config['DeniedExtensions']['Image']	= array() ;
135
$Config['DeniedExtensions']['Image']	= array() ;
132
$Config['FileTypesPath']['Image']		= $Config['UserFilesPath'] . 'image/' ;
136
$Config['FileTypesPath']['Image']		= $Config['UserFilesPath'] . 'images/' ;
Line 133... Line 137...
133
$Config['FileTypesAbsolutePath']['Image']= ($Config['UserFilesAbsolutePath'] == '') ? '' : $Config['UserFilesAbsolutePath'].'image/' ;
137
$Config['FileTypesAbsolutePath']['Image']= ($Config['UserFilesAbsolutePath'] == '') ? '' : $Config['UserFilesAbsolutePath'].'image/' ;