1[//lasso
2/*
3 * FCKeditor - The text editor for Internet - http://www.fckeditor.net
4 * Copyright (C) 2003-2007 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 Lasso File Uploader.
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(),
54			'Image' = array('jpg','gif','jpeg','png'),
55			'Flash' = array('swf','fla'),
56			'Media' = array('swf','fla','jpg','gif','jpeg','png','avi','mpg','mpeg')
57		),
58		'DeniedExtensions' = map(
59			'File' = array('html','htm','php','php2','php3','php4','php5','phtml','pwml','inc','asp','aspx','ascx','jsp','cfm','cfc','pl','bat','exe','com','dll','vbs','js','reg','cgi','lasso','lassoapp','htaccess','asis'),
60			'Image' = array(),
61			'Flash' = array(),
62			'Media' = array()
63		)
64	);
65]
66