/source/Plug-in/fck/editor/filemanager/connectors/lasso/config.lasso

http://prosporous.googlecode.com/ · Unknown · 65 lines · 60 code · 5 blank · 0 comment · 0 complexity · 272ef382f6ef56b0785815e562b832bb MD5 · raw file

  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. * Configuration file for the File Manager Connector for Lasso.
  23. */
  24. /*.....................................................................
  25. The connector uses the file tags, which require authentication. Enter a
  26. valid username and password from Lasso admin for a group with file tags
  27. permissions for uploads and the path you define in UserFilesPath below.
  28. */
  29. var('connection') = array(
  30. -username='xxxxxxxx',
  31. -password='xxxxxxxx'
  32. );
  33. /*.....................................................................
  34. Set the base path for files that users can upload and browse (relative
  35. to server root).
  36. Set which file extensions are allowed and/or denied for each file type.
  37. */
  38. var('config') = map(
  39. 'Enabled' = false,
  40. 'UserFilesPath' = '/userfiles/',
  41. 'Subdirectories' = map(
  42. 'File' = 'File/',
  43. 'Image' = 'Image/',
  44. 'Flash' = 'Flash/',
  45. 'Media' = 'Media/'
  46. ),
  47. 'AllowedExtensions' = map(
  48. 'File' = array('7z','aiff','asf','avi','bmp','csv','doc','fla','flv','gif','gz','gzip','jpeg','jpg','mid','mov','mp3','mp4','mpc','mpeg','mpg','ods','odt','pdf','png','ppt','pxd','qt','ram','rar','rm','rmi','rmvb','rtf','sdc','sitd','swf','sxc','sxw','tar','tgz','tif','tiff','txt','vsd','wav','wma','wmv','xls','xml','zip'),
  49. 'Image' = array('bmp','gif','jpeg','jpg','png'),
  50. 'Flash' = array('swf','flv'),
  51. 'Media' = array('aiff','asf','avi','bmp','fla','flv','gif','jpeg','jpg','mid','mov','mp3','mp4','mpc','mpeg','mpg','png','qt','ram','rm','rmi','rmvb','swf','tif','tiff','wav','wma','wmv')
  52. ),
  53. 'DeniedExtensions' = map(
  54. 'File' = array(),
  55. 'Image' = array(),
  56. 'Flash' = array(),
  57. 'Media' = array()
  58. )
  59. );
  60. ]