~ubuntu-branches/ubuntu/natty/moin/natty-updates

« back to all changes in this revision

Viewing changes to wiki/htdocs/applets/FCKeditor/editor/filemanager/upload/php/config.php

  • Committer: Bazaar Package Importer
  • Author(s): Jonas Smedegaard
  • Date: 2008-06-22 21:17:13 UTC
  • mto: This revision was merged to the branch mainline in revision 18.
  • Revision ID: james.westby@ubuntu.com-20080622211713-inlv5k4eifxckelr
ImportĀ upstreamĀ versionĀ 1.7.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
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
 * "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
global $Config ;
 
22
 
 
23
// SECURITY: You must explicitelly enable this "uploader". 
 
24
$Config['Enabled'] = false ;
 
25
 
 
26
// Path to uploaded files relative to the document root.
 
27
$Config['UserFilesPath'] = '/UserFiles/' ;
 
28
 
 
29
$Config['AllowedExtensions']['File']    = array() ;
 
30
$Config['DeniedExtensions']['File']             = array('php','php3','php5','phtml','asp','aspx','ascx','jsp','cfm','cfc','pl','bat','exe','dll','reg','cgi') ;
 
31
 
 
32
$Config['AllowedExtensions']['Image']   = array('jpg','gif','jpeg','png') ;
 
33
$Config['DeniedExtensions']['Image']    = array() ;
 
34
 
 
35
$Config['AllowedExtensions']['Flash']   = array('swf','fla') ;
 
36
$Config['DeniedExtensions']['Flash']    = array() ;
 
37
 
 
38
?>
 
 
b'\\ No newline at end of file'