1 | <!--
|
---|
2 | * FCKeditor - The text editor for internet
|
---|
3 | * Copyright (C) 2003-2006 Frederico Caldeira Knabben
|
---|
4 | *
|
---|
5 | * Licensed under the terms of the GNU Lesser General Public License:
|
---|
6 | * http://www.opensource.org/licenses/lgpl-license.php
|
---|
7 | *
|
---|
8 | * For further information visit:
|
---|
9 | * http://www.fckeditor.net/
|
---|
10 | *
|
---|
11 | * "Support Open Source software. What about a donation today?"
|
---|
12 | *
|
---|
13 | * File Name: config.asp
|
---|
14 | * Configuration file for the File Manager Connector for ASP.
|
---|
15 | *
|
---|
16 | * File Authors:
|
---|
17 | * Frederico Caldeira Knabben (fredck@fckeditor.net)
|
---|
18 | -->
|
---|
19 | <%
|
---|
20 |
|
---|
21 | ' SECURITY: You must explicitelly enable this "uploader" (set it to "True").
|
---|
22 | Dim ConfigIsEnabled
|
---|
23 | ConfigIsEnabled = False
|
---|
24 |
|
---|
25 | ' Set if the file type must be considere in the target path.
|
---|
26 | ' Ex: /UserFiles/Image/ or /UserFiles/File/
|
---|
27 | Dim ConfigUseFileType
|
---|
28 | ConfigUseFileType = False
|
---|
29 |
|
---|
30 | ' Path to user files relative to the document root.
|
---|
31 | Dim ConfigUserFilesPath
|
---|
32 | ConfigUserFilesPath = "/UserFiles/"
|
---|
33 |
|
---|
34 | ' Allowed and Denied extensions configurations.
|
---|
35 | Dim ConfigAllowedExtensions, ConfigDeniedExtensions
|
---|
36 | Set ConfigAllowedExtensions = CreateObject( "Scripting.Dictionary" )
|
---|
37 | Set ConfigDeniedExtensions = CreateObject( "Scripting.Dictionary" )
|
---|
38 |
|
---|
39 | ConfigAllowedExtensions.Add "File", ""
|
---|
40 | ConfigDeniedExtensions.Add "File", "php|php2|php3|php4|php5|phtml|pwml|inc|asp|aspx|ascx|jsp|cfm|cfc|pl|bat|exe|com|dll|vbs|js|reg|cgi"
|
---|
41 |
|
---|
42 | ConfigAllowedExtensions.Add "Image", "jpg|gif|jpeg|png|bmp"
|
---|
43 | ConfigDeniedExtensions.Add "Image", ""
|
---|
44 |
|
---|
45 | ConfigAllowedExtensions.Add "Flash", "swf|fla"
|
---|
46 | ConfigDeniedExtensions.Add "Flash", ""
|
---|
47 |
|
---|
48 | %> |
---|