~mortenoh/+junk/dhis2-detailed-import-export

« back to all changes in this revision

Viewing changes to dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-dataset/src/main/webapp/dhis-web-maintenance-dataset/javascript/FCK/editor/filemanager/browser/default/connectors/php/config.php

  • Committer: larshelge at gmail
  • Date: 2009-03-03 16:46:36 UTC
  • Revision ID: larshelge@gmail.com-20090303164636-2sjlrquo7ib1gf7r
Initial check-in

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?php
 
2
/*
 
3
 * FCKeditor - The text editor for Internet - http://www.fckeditor.net
 
4
 * Copyright (C) 2003-2007 Frederico Caldeira Knabben
 
5
 *
 
6
 * == BEGIN LICENSE ==
 
7
 *
 
8
 * Licensed under the terms of any of the following licenses at your
 
9
 * choice:
 
10
 *
 
11
 *  - GNU General Public License Version 2 or later (the "GPL")
 
12
 *    http://www.gnu.org/licenses/gpl.html
 
13
 *
 
14
 *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
 
15
 *    http://www.gnu.org/licenses/lgpl.html
 
16
 *
 
17
 *  - Mozilla Public License Version 1.1 or later (the "MPL")
 
18
 *    http://www.mozilla.org/MPL/MPL-1.1.html
 
19
 *
 
20
 * == END LICENSE ==
 
21
 *
 
22
 * Configuration file for the File Manager Connector for PHP.
 
23
 */
 
24
 
 
25
global $Config ;
 
26
 
 
27
// SECURITY: You must explicitelly enable this "connector". (Set it to "true").
 
28
$Config['Enabled'] = false ;
 
29
 
 
30
 
 
31
// Path to user files relative to the document root.
 
32
$Config['UserFilesPath'] = '/userfiles/' ;
 
33
 
 
34
// Fill the following value it you prefer to specify the absolute path for the
 
35
// user files directory. Usefull if you are using a virtual directory, symbolic
 
36
// link or alias. Examples: 'C:\\MySite\\userfiles\\' or '/root/mysite/userfiles/'.
 
37
// Attention: The above 'UserFilesPath' must point to the same directory.
 
38
$Config['UserFilesAbsolutePath'] = '' ;
 
39
 
 
40
// Due to security issues with Apache modules, it is reccomended to leave the
 
41
// following setting enabled.
 
42
$Config['ForceSingleExtension'] = true ;
 
43
 
 
44
$Config['AllowedExtensions']['File']    = array() ;
 
45
$Config['DeniedExtensions']['File']             = array('html','htm','php','php2','php3','php4','php5','phtml','pwml','inc','asp','aspx','ascx','jsp','cfm','cfc','pl','bat','exe','com','dll','vbs','js','reg','cgi','htaccess','asis','sh','shtml','shtm','phtm') ;
 
46
 
 
47
$Config['AllowedExtensions']['Image']   = array('jpg','gif','jpeg','png') ;
 
48
$Config['DeniedExtensions']['Image']    = array() ;
 
49
 
 
50
$Config['AllowedExtensions']['Flash']   = array('swf','fla') ;
 
51
$Config['DeniedExtensions']['Flash']    = array() ;
 
52
 
 
53
$Config['AllowedExtensions']['Media']   = array('swf','fla','jpg','gif','jpeg','png','avi','mpg','mpeg') ;
 
54
$Config['DeniedExtensions']['Media']    = array() ;
 
55
 
 
56
?>
 
 
b'\\ No newline at end of file'