Subversion Repositories Applications.papyrus

Rev

Rev 487 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
431 ddelon 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
 * File Name: config.php
13
 * 	Configuration file for the File Manager Connector for PHP.
14
 *
15
 * File Authors:
16
 * 		Frederico Caldeira Knabben (fredck@fckeditor.net)
17
 */
18
 
19
global $Config ;
20
 
21
// SECURITY: You must explicitelly enable this "connector". (Set it to "true").
22
$Config['Enabled'] = true;
23
 
24
// Path to user files relative to the document root.
436 ddelon 25
// Without end slash
875 ddelon 26
$Config['UserFilesPath'] = '/UserFiles/';
27
 
28
// Exemple : $Config['BaseDir'] = '/home/david/workspace/papyrus/';
487 ddelon 29
$Config['BaseDir'] = '';
875 ddelon 30
// Exemple $Config['UrlPrefix'] = 'http://localhost/~david/papyrus';
487 ddelon 31
$Config['UrlPrefix'] = '';
431 ddelon 32
 
33
$Config['AllowedExtensions']['File']	= array() ;
34
$Config['DeniedExtensions']['File']		= array('php','php3','php5','phtml','asp','aspx','ascx','jsp','cfm','cfc','pl','bat','exe','dll','reg','cgi') ;
35
 
36
$Config['AllowedExtensions']['Image']	= array('jpg','gif','jpeg','png') ;
37
$Config['DeniedExtensions']['Image']	= array() ;
38
 
39
$Config['AllowedExtensions']['Flash']	= array('swf','fla') ;
40
$Config['DeniedExtensions']['Flash']	= array() ;
41
 
42
$Config['AllowedExtensions']['Media']	= array('swf','fla','jpg','gif','jpeg','png','avi','mpg','mpeg') ;
43
$Config['DeniedExtensions']['Media']	= array() ;
44
 
45
?>