/public/javascripts/editor/filemanager/browser/default/connectors/lasso/config.lasso

http://rorptm.googlecode.com/ · Unknown · 61 lines · 56 code · 5 blank · 0 comment · 0 complexity · 08d64fa5040c0a5d2e3b7cd9bc6b824a MD5 · raw file

  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. var('connection') = array(
  26. -username='xxxxxxxx',
  27. -password='xxxxxxxx'
  28. );
  29. /*.....................................................................
  30. Set the base path for files that users can upload and browse (relative
  31. to server root).
  32. Set which file extensions are allowed and/or denied for each file type.
  33. */
  34. var('config') = map(
  35. 'Enabled' = true,
  36. 'UserFilesPath' = '/UserFiles/',
  37. 'Subdirectories' = map(
  38. 'File' = 'File/',
  39. 'Image' = 'Image/',
  40. 'Flash' = 'Flash/',
  41. 'Media' = 'Media/'
  42. ),
  43. 'AllowedExtensions' = map(
  44. 'File' = array(),
  45. 'Image' = array('jpg','gif','jpeg','png'),
  46. 'Flash' = array('swf','fla'),
  47. 'Media' = array('swf','fla','jpg','gif','jpeg','png','avi','mpg','mpeg')
  48. ),
  49. 'DeniedExtensions' = map(
  50. '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'),
  51. 'Image' = array(),
  52. 'Flash' = array(),
  53. 'Media' = array()
  54. )
  55. );
  56. ]