source: trunk/expressoMail1_2/js/fckeditor/editor/filemanager/browser/default/connectors/php/config.php @ 1456

Revision 1456, 1.9 KB checked in by niltonneto, 15 years ago (diff)

Ticket #661 - Alteração para contornar vulneralibidade do FCKEditor.

  • Property svn:executable set to *
Line 
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 File Manager Connector for PHP.
16 *
17 * File Authors:
18 *              Frederico Caldeira Knabben (fredck@fckeditor.net)
19 */
20
21global $Config ;
22
23// SECURITY: You must explicitelly enable this "connector". (Set it to "true").
24$Config['Enabled'] = false ;
25
26// Path to user files relative to the document root.
27$Config['UserFilesPath'] = '/public/' ;
28
29// Fill the following value it you prefer to specify the absolute path for the
30// user files directory. Usefull if you are using a virtual directory, symbolic
31// link or alias. Examples: 'C:\\MySite\\UserFiles\\' or '/root/mysite/UserFiles/'.
32// Attention: The above 'UserFilesPath' must point to the same directory.
33$Config['UserFilesAbsolutePath'] = '' ;
34
35// Due to security issues with Apache modules, it is reccomended to leave the
36// following setting enabled.
37$Config['ForceSingleExtension'] = true ;
38
39$Config['AllowedExtensions']['File']    = array() ;
40$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','htaccess') ;
41
42$Config['AllowedExtensions']['Image']   = array('jpg','gif','jpeg','png') ;
43$Config['DeniedExtensions']['Image']    = array() ;
44
45$Config['AllowedExtensions']['Flash']   = array('swf','fla') ;
46$Config['DeniedExtensions']['Flash']    = array() ;
47
48$Config['AllowedExtensions']['Media']   = array('swf','fla','jpg','gif','jpeg','png','avi','mpg','mpeg') ;
49$Config['DeniedExtensions']['Media']    = array() ;
50
51?>
Note: See TracBrowser for help on using the repository browser.