~ubuntu-branches/ubuntu/natty/moin/natty-updates

« back to all changes in this revision

Viewing changes to wiki/htdocs/applets/FCKeditor/editor/filemanager/upload/lasso/config.lasso

  • Committer: Bazaar Package Importer
  • Author(s): Jonas Smedegaard
  • Date: 2008-06-22 21:17:13 UTC
  • mto: This revision was merged to the branch mainline in revision 18.
  • Revision ID: james.westby@ubuntu.com-20080622211713-inlv5k4eifxckelr
ImportĀ upstreamĀ versionĀ 1.7.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
[//lasso
 
2
/*
 
3
 * FCKeditor - The text editor for internet
 
4
 * Copyright (C) 2003-2005 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
                'AllowedExtensions' = map(
 
41
                        'File' = array(),
 
42
                        'Image' = array('jpg','gif','jpeg','png'),
 
43
                        'Flash' = array('swf','fla'),
 
44
                        'Media' = array('swf','fla','jpg','gif','jpeg','png','avi','mpg','mpeg')
 
45
                ),
 
46
                'DeniedExtensions' = map(
 
47
                        'File' = array('php','asp','aspx','ascx','jsp','cfm','cfc','pl','bat','exe','dll','reg','inc','lasso','cgi','lasso','lassoapp'),
 
48
                        'Image' = array(),
 
49
                        'Flash' = array(),
 
50
                        'Media' = array()
 
51
                )
 
52
        );
 
53
]