source: branches/1.2/workflow/js/fckeditor/editor/filemanager/upload/php/config.php @ 1349

Revision 1349, 2.0 KB checked in by niltonneto, 15 years ago (diff)

Ticket #561 - Inclusão do módulo Workflow faltante nessa versão.

  • Property svn:executable set to *
Line 
1<?php
2/*
3 * FCKeditor - The text editor for Internet - http://www.fckeditor.net
4 * Copyright (C) 2003-2007 Frederico Caldeira Knabben
5 *
6 * == BEGIN LICENSE ==
7 *
8 * Licensed under the terms of any of the following licenses at your
9 * choice:
10 *
11 *  - GNU General Public License Version 2 or later (the "GPL")
12 *    http://www.gnu.org/licenses/gpl.html
13 *
14 *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
15 *    http://www.gnu.org/licenses/lgpl.html
16 *
17 *  - Mozilla Public License Version 1.1 or later (the "MPL")
18 *    http://www.mozilla.org/MPL/MPL-1.1.html
19 *
20 * == END LICENSE ==
21 *
22 * Configuration file for the PHP File Uploader.
23 */
24
25global $Config ;
26
27// SECURITY: You must explicitelly enable this "uploader".
28$Config['Enabled'] = false ;
29
30// Set if the file type must be considere in the target path.
31// Ex: /userfiles/image/ or /userfiles/file/
32$Config['UseFileType'] = false ;
33
34// Path to uploaded files relative to the document root.
35$Config['UserFilesPath'] = '/userfiles/' ;
36
37// Fill the following value it you prefer to specify the absolute path for the
38// user files directory. Usefull if you are using a virtual directory, symbolic
39// link or alias. Examples: 'C:\\MySite\\userfiles\\' or '/root/mysite/userfiles/'.
40// Attention: The above 'UserFilesPath' must point to the same directory.
41$Config['UserFilesAbsolutePath'] = '' ;
42
43// Due to security issues with Apache modules, it is reccomended to leave the
44// following setting enabled.
45$Config['ForceSingleExtension'] = true ;
46
47$Config['AllowedExtensions']['File']    = array() ;
48$Config['DeniedExtensions']['File']             = array('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') ;
49
50$Config['AllowedExtensions']['Image']   = array('jpg','gif','jpeg','png') ;
51$Config['DeniedExtensions']['Image']    = array() ;
52
53$Config['AllowedExtensions']['Flash']   = array('swf','fla') ;
54$Config['DeniedExtensions']['Flash']    = array() ;
55
56?>
Note: See TracBrowser for help on using the repository browser.