2
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
3
* Copyright (C) 2003-2007 Frederico Caldeira Knabben
7
* Licensed under the terms of any of the following licenses at your
10
* - GNU General Public License Version 2 or later (the "GPL")
11
* http://www.gnu.org/licenses/gpl.html
13
* - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
14
* http://www.gnu.org/licenses/lgpl.html
16
* - Mozilla Public License Version 1.1 or later (the "MPL")
17
* http://www.mozilla.org/MPL/MPL-1.1.html
21
* Configuration file for the File Manager Connector for ASP.
25
' SECURITY: You must explicitelly enable this "uploader" (set it to "True").
27
ConfigIsEnabled = False
29
' Set if the file type must be considere in the target path.
30
' Ex: /userfiles/image/ or /userfiles/file/
32
ConfigUseFileType = False
34
' Path to user files relative to the document root.
35
Dim ConfigUserFilesPath
36
ConfigUserFilesPath = "/userfiles/"
38
' Allowed and Denied extensions configurations.
39
Dim ConfigAllowedExtensions, ConfigDeniedExtensions
40
Set ConfigAllowedExtensions = CreateObject( "Scripting.Dictionary" )
41
Set ConfigDeniedExtensions = CreateObject( "Scripting.Dictionary" )
43
ConfigAllowedExtensions.Add "File", ""
44
ConfigDeniedExtensions.Add "File", "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|htaccess|asis|sh|shtml|shtm|phtm"
46
ConfigAllowedExtensions.Add "Image", "jpg|gif|jpeg|png|bmp"
47
ConfigDeniedExtensions.Add "Image", ""
49
ConfigAllowedExtensions.Add "Flash", "swf|fla"
50
ConfigDeniedExtensions.Add "Flash", ""
b'\\ No newline at end of file'