comparison wiki/htdocs/applets/FCKeditor/editor/filemanager/upload/php/config.php @ 0:77665d8e2254

tag of nonpublic@localhost--archive/moin--enterprise--1.5--base-0 (automatically generated log message) imported from: moin--main--1.5--base-0
author Thomas Waldmann <tw-public@gmx.de>
date Thu, 22 Sep 2005 15:09:50 +0000
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:77665d8e2254
1 <?php
2 /*
3 * FCKeditor - The text editor for internet
4 * Copyright (C) 2003-2005 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
21 global $Config ;
22
23 // SECURITY: You must explicitelly enable this "uploader".
24 $Config['Enabled'] = false ;
25
26 // Path to uploaded files relative to the document root.
27 $Config['UserFilesPath'] = '/UserFiles/' ;
28
29 $Config['AllowedExtensions']['File'] = array() ;
30 $Config['DeniedExtensions']['File'] = array('php','php3','php5','phtml','asp','aspx','ascx','jsp','cfm','cfc','pl','bat','exe','dll','reg','cgi') ;
31
32 $Config['AllowedExtensions']['Image'] = array('jpg','gif','jpeg','png') ;
33 $Config['DeniedExtensions']['Image'] = array() ;
34
35 $Config['AllowedExtensions']['Flash'] = array('swf','fla') ;
36 $Config['DeniedExtensions']['Flash'] = array() ;
37
38 ?>