1 | [//lasso
|
---|
2 | /*
|
---|
3 | * FCKeditor - The text editor for internet
|
---|
4 | * Copyright (C) 2003-2006 Frederico Caldeira Knabben
|
---|
5 | *
|
---|
6 | * Licensed under the terms of the GNU Lesser General Public License:
|
---|
7 | * http://www.opensource.org/licenses/lgpl-license.php
|
---|
8 | *
|
---|
9 | * For further information visit:
|
---|
10 | * http://www.fckeditor.net/
|
---|
11 | *
|
---|
12 | * File Name: config.php
|
---|
13 | * Configuration file for the Lasso File Uploader.
|
---|
14 | *
|
---|
15 | * File Authors:
|
---|
16 | * Jason Huck (jason.huck@corefive.com)
|
---|
17 | */
|
---|
18 |
|
---|
19 | /*.....................................................................
|
---|
20 | The connector uses the file tags, which require authentication. Enter a
|
---|
21 | valid username and password from Lasso admin for a group with file tags
|
---|
22 | permissions for uploads and the path you define in UserFilesPath below.
|
---|
23 | */
|
---|
24 |
|
---|
25 | var('connection') = array(
|
---|
26 | -username='xxxxxxxx',
|
---|
27 | -password='xxxxxxxx'
|
---|
28 | );
|
---|
29 |
|
---|
30 |
|
---|
31 | /*.....................................................................
|
---|
32 | Set the base path for files that users can upload and browse (relative
|
---|
33 | to server root).
|
---|
34 |
|
---|
35 | Set which file extensions are allowed and/or denied for each file type.
|
---|
36 | */
|
---|
37 | var('config') = map(
|
---|
38 | 'Enabled' = false,
|
---|
39 | 'UserFilesPath' = '/UserFiles/',
|
---|
40 | 'Subdirectories' = map(
|
---|
41 | 'File' = 'File/',
|
---|
42 | 'Image' = 'Image/',
|
---|
43 | 'Flash' = 'Flash/',
|
---|
44 | 'Media' = 'Media/'
|
---|
45 | ),
|
---|
46 | 'AllowedExtensions' = map(
|
---|
47 | 'File' = array(),
|
---|
48 | 'Image' = array('jpg','gif','jpeg','png'),
|
---|
49 | 'Flash' = array('swf','fla'),
|
---|
50 | 'Media' = array('swf','fla','jpg','gif','jpeg','png','avi','mpg','mpeg')
|
---|
51 | ),
|
---|
52 | 'DeniedExtensions' = map(
|
---|
53 | 'File' = array('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'),
|
---|
54 | 'Image' = array(),
|
---|
55 | 'Flash' = array(),
|
---|
56 | 'Media' = array()
|
---|
57 | )
|
---|
58 | );
|
---|
59 | ]
|
---|