1 | [//lasso
|
---|
2 | /*
|
---|
3 | * FCKeditor - The text editor for Internet - http://www.fckeditor.net
|
---|
4 | * Copyright (C) 2003-2009 Frederico Caldeira Knabben
|
---|
5 | *
|
---|
6 | * == BEGIN LICENSE ==
|
---|
7 | *
|
---|
8 | * Licensed under the terms of any of the following licenses at your
|
---|
9 | * choice:
|
---|
10 | *
|
---|
11 | * - GNU General Public License Version 2 or later (the "GPL")
|
---|
12 | * http://www.gnu.org/licenses/gpl.html
|
---|
13 | *
|
---|
14 | * - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
|
---|
15 | * http://www.gnu.org/licenses/lgpl.html
|
---|
16 | *
|
---|
17 | * - Mozilla Public License Version 1.1 or later (the "MPL")
|
---|
18 | * http://www.mozilla.org/MPL/MPL-1.1.html
|
---|
19 | *
|
---|
20 | * == END LICENSE ==
|
---|
21 | *
|
---|
22 | * Configuration file for the File Manager Connector for Lasso.
|
---|
23 | */
|
---|
24 |
|
---|
25 | /*.....................................................................
|
---|
26 | The connector uses the file tags, which require authentication. Enter a
|
---|
27 | valid username and password from Lasso admin for a group with file tags
|
---|
28 | permissions for uploads and the path you define in UserFilesPath below.
|
---|
29 | */
|
---|
30 |
|
---|
31 | var('connection') = array(
|
---|
32 | -username='xxxxxxxx',
|
---|
33 | -password='xxxxxxxx'
|
---|
34 | );
|
---|
35 |
|
---|
36 |
|
---|
37 | /*.....................................................................
|
---|
38 | Set the base path for files that users can upload and browse (relative
|
---|
39 | to server root).
|
---|
40 |
|
---|
41 | Set which file extensions are allowed and/or denied for each file type.
|
---|
42 | */
|
---|
43 | var('config') = map(
|
---|
44 | 'Enabled' = false,
|
---|
45 | 'UserFilesPath' = '/userfiles/',
|
---|
46 | 'Subdirectories' = map(
|
---|
47 | 'File' = 'File/',
|
---|
48 | 'Image' = 'Image/',
|
---|
49 | 'Flash' = 'Flash/',
|
---|
50 | 'Media' = 'Media/'
|
---|
51 | ),
|
---|
52 | 'AllowedExtensions' = map(
|
---|
53 | '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'),
|
---|
54 | 'Image' = array('bmp','gif','jpeg','jpg','png'),
|
---|
55 | 'Flash' = array('swf','flv'),
|
---|
56 | 'Media' = array('aiff','asf','avi','bmp','fla','flv','gif','jpeg','jpg','mid','mov','mp3','mp4','mpc','mpeg','mpg','png','qt','ram','rm','rmi','rmvb','swf','tif','tiff','wav','wma','wmv')
|
---|
57 | ),
|
---|
58 | 'DeniedExtensions' = map(
|
---|
59 | 'File' = array(),
|
---|
60 | 'Image' = array(),
|
---|
61 | 'Flash' = array(),
|
---|
62 | 'Media' = array()
|
---|
63 | )
|
---|
64 | );
|
---|
65 | ]
|
---|