[ Index ] |
|
Code source de FCKeditor 2.4 |
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 * File Name: config.lasso 23 * Configuration file for the File Manager Connector for Lasso. 24 * 25 * File Authors: 26 * Jason Huck (jason.huck@corefive.com) 27 */ 28 29 /*..................................................................... 30 The connector uses the file tags, which require authentication. Enter a 31 valid username and password from Lasso admin for a group with file tags 32 permissions for uploads and the path you define in UserFilesPath below. 33 */ 34 35 var('connection') = array( 36 -username='xxxxxxxx', 37 -password='xxxxxxxx' 38 ); 39 40 41 /*..................................................................... 42 Set the base path for files that users can upload and browse (relative 43 to server root). 44 45 Set which file extensions are allowed and/or denied for each file type. 46 */ 47 var('config') = map( 48 'Enabled' = true, 49 'UserFilesPath' = '/userfiles/', 50 'Subdirectories' = map( 51 'File' = 'File/', 52 'Image' = 'Image/', 53 'Flash' = 'Flash/', 54 'Media' = 'Media/' 55 ), 56 'AllowedExtensions' = map( 57 'File' = array(), 58 'Image' = array('jpg','gif','jpeg','png'), 59 'Flash' = array('swf','fla'), 60 'Media' = array('swf','fla','jpg','gif','jpeg','png','avi','mpg','mpeg') 61 ), 62 'DeniedExtensions' = map( 63 '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'), 64 'Image' = array(), 65 'Flash' = array(), 66 'Media' = array() 67 ) 68 ); 69 ]
titre
Description
Corps
titre
Description
Corps
titre
Description
Corps
titre
Corps
Généré le : Sun Feb 25 15:28:05 2007 | par Balluche grâce à PHPXref 0.7 |