[ Index ] |
|
Code source de Seagull 0.6.1 |
1 <?php 2 include '../../../../../lib/SGL/FrontController.php'; 3 SGL_FrontController::init(); 4 session_start(); 5 6 //$session = new SGL_Session(); 7 //if (!SGL_Output::isAdmin()) { 8 // die('No Perms'); 9 //} 10 // 11 12 /* 13 * FCKeditor - The text editor for internet 14 * Copyright (C) 2003-2005 Frederico Caldeira Knabben 15 * 16 * Licensed under the terms of the GNU Lesser General Public License: 17 * http://www.opensource.org/licenses/lgpl-license.php 18 * 19 * For further information visit: 20 * http://www.fckeditor.net/ 21 * 22 * "Support Open Source software. What about a donation today?" 23 * 24 * File Name: config.php 25 * Configuration file for the File Manager Connector for PHP. 26 * 27 * File Authors: 28 * Frederico Caldeira Knabben (fredck@fckeditor.net) 29 */ 30 31 global $Config ; 32 33 // SECURITY: You must explicitelly enable this "connector". (Set it to "true"). 34 $Config['Enabled'] = true ; 35 36 // Path to user files relative to the document root. 37 $Config['UserFilesPath'] = SGL_BASE_URL . '/images/' ; 38 39 // Fill the following value it you prefer to specify the absolute path for the 40 // user files directory. Usefull if you are using a virtual directory, symbolic 41 // link or alias. Examples: 'C:\\MySite\\UserFiles\\' or '/root/mysite/UserFiles/'. 42 // Attention: The above 'UserFilesPath' must point to the same directory. 43 $Config['UserFilesAbsolutePath'] = SGL_WEB_ROOT.'/images/'; 44 45 $Config['AllowedExtensions']['File'] = array() ; 46 $Config['DeniedExtensions']['File'] = array('php','php3','php5','phtml','asp','aspx','ascx','jsp','cfm','cfc','pl','bat','exe','dll','reg','cgi') ; 47 48 $Config['AllowedExtensions']['Image'] = array('jpg','gif','jpeg','png') ; 49 $Config['DeniedExtensions']['Image'] = array() ; 50 51 $Config['AllowedExtensions']['Flash'] = array('swf','fla') ; 52 $Config['DeniedExtensions']['Flash'] = array() ; 53 54 $Config['AllowedExtensions']['Media'] = array('swf','fla','jpg','gif','jpeg','png','avi','mpg','mpeg') ; 55 $Config['DeniedExtensions']['Media'] = array() ; 56 57 ?>
titre
Description
Corps
titre
Description
Corps
titre
Description
Corps
titre
Corps
Généré le : Fri Mar 30 01:27:52 2007 | par Balluche grâce à PHPXref 0.7 |