config.php
上传用户:li2971742
上传日期:2021-11-18
资源大小:39096k
文件大小:2k
源码类别:

OA系统

开发平台:

C#

  1. <?php 
  2. /*
  3.  * FCKeditor - The text editor for internet
  4.  * Copyright (C) 2003-2006 Frederico Caldeira Knabben
  5.  * 
  6.  * Licensed under the terms of the GNU Lesser General Public License:
  7.  *  http://www.opensource.org/licenses/lgpl-license.php
  8.  * 
  9.  * For further information visit:
  10.  *  http://www.fckeditor.net/
  11.  * 
  12.  * "Support Open Source software. What about a donation today?"
  13.  * 
  14.  * File Name: config.php
  15.  *  Configuration file for the PHP File Uploader.
  16.  * 
  17.  * File Authors:
  18.  *  Frederico Caldeira Knabben (fredck@fckeditor.net)
  19.  */
  20. global $Config ;
  21. // SECURITY: You must explicitelly enable this "uploader". 
  22. $Config['Enabled'] = false ;
  23. // Set if the file type must be considere in the target path. 
  24. // Ex: /UserFiles/Image/ or /UserFiles/File/
  25. $Config['UseFileType'] = false ;
  26. // Path to uploaded files relative to the document root.
  27. $Config['UserFilesPath'] = '/UserFiles/' ;
  28. // Fill the following value it you prefer to specify the absolute path for the
  29. // user files directory. Usefull if you are using a virtual directory, symbolic
  30. // link or alias. Examples: 'C:\MySite\UserFiles\' or '/root/mysite/UserFiles/'.
  31. // Attention: The above 'UserFilesPath' must point to the same directory.
  32. $Config['UserFilesAbsolutePath'] = '' ;
  33. // Due to security issues with Apache modules, it is reccomended to leave the
  34. // following setting enabled.
  35. $Config['ForceSingleExtension'] = true ;
  36. $Config['AllowedExtensions']['File'] = array() ;
  37. $Config['DeniedExtensions']['File'] = array('php','php2','php3','php4','php5','phtml','pwml','inc','asp','aspx','ascx','jsp','cfm','cfc','pl','bat','exe','com','dll','vbs','js','reg','cgi') ;
  38. $Config['AllowedExtensions']['Image'] = array('jpg','gif','jpeg','png') ;
  39. $Config['DeniedExtensions']['Image'] = array() ;
  40. $Config['AllowedExtensions']['Flash'] = array('swf','fla') ;
  41. $Config['DeniedExtensions']['Flash'] = array() ;
  42. ?>