1<!-- 2 * FCKeditor - The text editor for Internet - http://www.fckeditor.net 3 * Copyright (C) 2003-2007 Frederico Caldeira Knabben 4 * 5 * == BEGIN LICENSE == 6 * 7 * Licensed under the terms of any of the following licenses at your 8 * choice: 9 * 10 * - GNU General Public License Version 2 or later (the "GPL") 11 * http://www.gnu.org/licenses/gpl.html 12 * 13 * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") 14 * http://www.gnu.org/licenses/lgpl.html 15 * 16 * - Mozilla Public License Version 1.1 or later (the "MPL") 17 * http://www.mozilla.org/MPL/MPL-1.1.html 18 * 19 * == END LICENSE == 20 * 21 * Configuration file for the File Manager Connector for ASP. 22--> 23<% 24 25' SECURITY: You must explicitelly enable this "uploader" (set it to "True"). 26Dim ConfigIsEnabled 27ConfigIsEnabled = False 28 29' Set if the file type must be considere in the target path. 30' Ex: /userfiles/image/ or /userfiles/file/ 31Dim ConfigUseFileType 32ConfigUseFileType = False 33 34' Path to user files relative to the document root. 35Dim ConfigUserFilesPath 36ConfigUserFilesPath = "/userfiles/" 37 38' Allowed and Denied extensions configurations. 39Dim ConfigAllowedExtensions, ConfigDeniedExtensions 40Set ConfigAllowedExtensions = CreateObject( "Scripting.Dictionary" ) 41Set ConfigDeniedExtensions = CreateObject( "Scripting.Dictionary" ) 42 43ConfigAllowedExtensions.Add "File", "" 44ConfigDeniedExtensions.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" 45 46ConfigAllowedExtensions.Add "Image", "jpg|gif|jpeg|png|bmp" 47ConfigDeniedExtensions.Add "Image", "" 48 49ConfigAllowedExtensions.Add "Flash", "swf|fla" 50ConfigDeniedExtensions.Add "Flash", "" 51 52%>