source: companies/serpro/expressoMail1_2/js/fckeditor/editor/filemanager/upload/asp/config.asp @ 903

Revision 903, 1.6 KB checked in by niltonneto, 15 years ago (diff)

Importacao inicial do Expresso do Serpro

Line 
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").
22Dim ConfigIsEnabled
23ConfigIsEnabled = False
24
25' Set if the file type must be considere in the target path.
26' Ex: /UserFiles/Image/ or /UserFiles/File/
27Dim ConfigUseFileType
28ConfigUseFileType = False
29
30' Path to user files relative to the document root.
31Dim ConfigUserFilesPath
32ConfigUserFilesPath = "/UserFiles/"
33
34' Allowed and Denied extensions configurations.
35Dim ConfigAllowedExtensions, ConfigDeniedExtensions
36Set ConfigAllowedExtensions     = CreateObject( "Scripting.Dictionary" )
37Set ConfigDeniedExtensions      = CreateObject( "Scripting.Dictionary" )
38
39ConfigAllowedExtensions.Add     "File", ""
40ConfigDeniedExtensions.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
42ConfigAllowedExtensions.Add     "Image", "jpg|gif|jpeg|png|bmp"
43ConfigDeniedExtensions.Add      "Image", ""
44
45ConfigAllowedExtensions.Add     "Flash", "swf|fla"
46ConfigDeniedExtensions.Add      "Flash", ""
47
48%>
Note: See TracBrowser for help on using the repository browser.