config.lasso
上传用户:li2971742
上传日期:2021-11-18
资源大小:39096k
文件大小:2k
源码类别:

OA系统

开发平台:

C#

  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.     The connector uses the file tags, which require authentication. Enter a
  22.     valid username and password from Lasso admin for a group with file tags
  23.     permissions for uploads and the path you define in UserFilesPath below.                                                                        
  24.     */ 
  25.     
  26. var('connection') = array(
  27. -username='xxxxxxxx',
  28. -password='xxxxxxxx'
  29. );
  30.     /*.....................................................................     
  31.     Set the base path for files that users can upload and browse (relative
  32.     to server root).
  33.     
  34.     Set which file extensions are allowed and/or denied for each file type.                                                                           
  35.     */                                                                          
  36. var('config') = map(
  37.     'Enabled' = true,
  38. 'UserFilesPath' = '/UserFiles/',
  39. 'Subdirectories' = map(
  40. 'File' = 'File/',
  41. 'Image' = 'Image/',
  42. 'Flash' = 'Flash/',
  43. 'Media' = 'Media/'
  44. ),
  45. 'AllowedExtensions' = map(
  46. 'File' = array(),
  47. 'Image' = array('jpg','gif','jpeg','png'),
  48. 'Flash' = array('swf','fla'),
  49. 'Media' = array('swf','fla','jpg','gif','jpeg','png','avi','mpg','mpeg')
  50. ),
  51. 'DeniedExtensions' = map(
  52. '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'),
  53. 'Image' = array(),
  54. 'Flash' = array(),
  55. 'Media' = array()
  56. )
  57. );
  58. ]