Subversion Repositories Applications.papyrus

Rev

Rev 432 | 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 PHP File Uploader.
14
 *
15
 * File Authors:
16
 * 		Frederico Caldeira Knabben (fredck@fckeditor.net)
17
 */
18
 
19
global $Config ;
20
 
21
// SECURITY: You must explicitelly enable this "uploader".
432 ddelon 22
$Config['Enabled'] = true ;
431 ddelon 23
 
24
// Path to uploaded files relative to the document root.
436 ddelon 25
//$Config['UserFilesPath'] = '/UserFiles/' ;
431 ddelon 26
 
436 ddelon 27
$Config['UserFilesPath'] = '/UserFiles';
28
$Config['BaseDir'] = '/home/david/workspace/papyrus';
29
$Config['UrlPrefix'] = '/~david/papyrus';
30
 
31
 
431 ddelon 32
$Config['AllowedExtensions']['File']	= array() ;
33
$Config['DeniedExtensions']['File']		= array('php','php3','php5','phtml','asp','aspx','ascx','jsp','cfm','cfc','pl','bat','exe','dll','reg','cgi') ;
34
 
35
$Config['AllowedExtensions']['Image']	= array('jpg','gif','jpeg','png') ;
36
$Config['DeniedExtensions']['Image']	= array() ;
37
 
38
$Config['AllowedExtensions']['Flash']	= array('swf','fla') ;
39
$Config['DeniedExtensions']['Flash']	= array() ;
40
 
41
?>