[ Index ] |
|
Code source de GeekLog 1.4.1 |
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 21 include ('../../../../../lib-common.php'); 22 global $Config ; 23 24 // SECURITY: You must explicitelly enable this "uploader". 25 $Config['Enabled'] = true ; 26 27 // Path to uploaded files relative to the document root. 28 $Config['UserFilesPath'] = $_CONF['site_url'] . $_CONF_FCK['imagelibrary'] ; 29 30 // Fill the following value it you prefer to specify the absolute path for the 31 // user files directory. Usefull if you are using a virtual directory, symbolic 32 // link or alias. Examples: 'C:\\MySite\\UserFiles\\' or '/root/mysite/UserFiles/'. 33 // Attention: The above 'UserFilesPath' must point to the same directory. 34 $Config['UserFilesAbsolutePath'] = $_CONF['path_html'] . $_CONF_FCK['imagelibrary']; 35 36 // Due to security issues with Apache modules, it is reccomended to leave the 37 // following setting enabled. 38 $Config['ForceSingleExtension'] = true ; 39 40 $Config['AllowedExtensions']['File'] = array() ; 41 $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') ; 42 43 $Config['AllowedExtensions']['Image'] = array('jpg','gif','jpeg','png') ; 44 $Config['DeniedExtensions']['Image'] = array() ; 45 46 $Config['AllowedExtensions']['Flash'] = array('swf','fla') ; 47 $Config['DeniedExtensions']['Flash'] = array() ; 48 49 ?>
titre
Description
Corps
titre
Description
Corps
titre
Description
Corps
titre
Corps
Généré le : Wed Nov 21 12:27:40 2007 | par Balluche grâce à PHPXref 0.7 |
![]() |