[ Index ]
 

Code source de FCKeditor 2.4

Accédez au Source d'autres logiciels libresSoutenez Angelica Josefina !

title

Body

[fermer]

/editor/filemanager/browser/default/connectors/asp/ -> config.asp (source)

   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   * File Name: config.asp
  22   *     Configuration file for the File Manager Connector for ASP.
  23   * 
  24   * File Authors:
  25   *         Frederico Caldeira Knabben (www.fckeditor.net)
  26  -->
  27  <%
  28  
  29  ' SECURITY: You must explicitelly enable this "connector" (set it to "True"). 
  30  Dim ConfigIsEnabled
  31  ConfigIsEnabled = False
  32  
  33  ' Path to user files relative to the document root.
  34  Dim ConfigUserFilesPath
  35  ConfigUserFilesPath = "/userfiles/"
  36  
  37  Dim ConfigAllowedExtensions, ConfigDeniedExtensions
  38  Set ConfigAllowedExtensions    = CreateObject( "Scripting.Dictionary" )
  39  Set ConfigDeniedExtensions    = CreateObject( "Scripting.Dictionary" )
  40  
  41  ConfigAllowedExtensions.Add    "File", ""
  42  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"
  43  
  44  ConfigAllowedExtensions.Add    "Image", "jpg|gif|jpeg|png|bmp"
  45  ConfigDeniedExtensions.Add    "Image", ""
  46  
  47  ConfigAllowedExtensions.Add    "Flash", "swf|fla"
  48  ConfigDeniedExtensions.Add    "Flash", ""
  49  
  50  ConfigAllowedExtensions.Add    "Media", "swf|fla|jpg|gif|jpeg|png|avi|mpg|mpeg|mp(1-4)|wma|wmv|wav|mid|midi|rmi|rm|ram|rmvb|mov|qt"
  51  ConfigDeniedExtensions.Add    "Media", ""
  52  
  53  %>


Généré le : Sun Feb 25 15:28:05 2007 par Balluche grâce à PHPXref 0.7