source: companies/celepar/news_admin/templates/celepar/fckeditor/editor/filemanager/browser/default/connectors/lasso/config.lasso @ 763

Revision 763, 2.1 KB checked in by niltonneto, 15 years ago (diff)

Importação inicial do Expresso da Celepar

Line 
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 * "Support Open Source software. What about a donation today?"
13 *
14 * File Name: config.lasso
15 *      Configuration file for the File Manager Connector for Lasso.
16 *
17 * File Authors:
18 *              Jason Huck (jason.huck@corefive.com)
19 */
20
21    /*.....................................................................     
22    The connector uses the file tags, which require authentication. Enter a
23    valid username and password from Lasso admin for a group with file tags
24    permissions for uploads and the path you define in UserFilesPath below.                                                                       
25    */
26   
27        var('connection') = array(
28                -username='xxxxxxxx',
29                -password='xxxxxxxx'
30        );
31
32
33    /*.....................................................................     
34    Set the base path for files that users can upload and browse (relative
35    to server root).
36   
37    Set which file extensions are allowed and/or denied for each file type.                                                                           
38    */                                                                         
39        var('config') = map(
40            'Enabled' = true,
41                'UserFilesPath' = '/UserFiles/',
42                'Subdirectories' = map(
43                        'File' = 'File/',
44                        'Image' = 'Image/',
45                        'Flash' = 'Flash/',
46                        'Media' = 'Media/'
47                ),
48                'AllowedExtensions' = map(
49                        'File' = array(),
50                        'Image' = array('jpg','gif','jpeg','png'),
51                        'Flash' = array('swf','fla'),
52                        'Media' = array('swf','fla','jpg','gif','jpeg','png','avi','mpg','mpeg')
53                ),
54                'DeniedExtensions' = map(
55                        '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','htaccess'),
56                        'Image' = array(),
57                        'Flash' = array(),
58                        'Media' = array()
59                )
60        );
61]
Note: See TracBrowser for help on using the repository browser.