1 | <?php
|
---|
2 |
|
---|
3 | /** This file is part of KCFinder project
|
---|
4 | *
|
---|
5 | * @desc Base configuration file
|
---|
6 | * @package KCFinder
|
---|
7 | * @version 2.51
|
---|
8 | * @author Pavel Tzonkov <pavelc@users.sourceforge.net>
|
---|
9 | * @copyright 2010, 2011 KCFinder Project
|
---|
10 | * @license http://www.opensource.org/licenses/gpl-2.0.php GPLv2
|
---|
11 | * @license http://www.opensource.org/licenses/lgpl-2.1.php LGPLv2
|
---|
12 | * @link http://kcfinder.sunhater.com
|
---|
13 | */
|
---|
14 |
|
---|
15 | // IMPORTANT!!! Do not remove uncommented settings in this file even if
|
---|
16 | // you are using session configuration.
|
---|
17 | // See http://kcfinder.sunhater.com/install for setting descriptions
|
---|
18 |
|
---|
19 | $_CONFIG = array(
|
---|
20 |
|
---|
21 | 'disabled' => false,
|
---|
22 | 'denyZipDownload' => false,
|
---|
23 | 'denyUpdateCheck' => false,
|
---|
24 | 'denyExtensionRename' => false,
|
---|
25 |
|
---|
26 | 'theme' => "oxygen",
|
---|
27 |
|
---|
28 | 'uploadURL' => "../../../../media",
|
---|
29 | 'uploadDir' => "",
|
---|
30 |
|
---|
31 | 'dirPerms' => 0755,
|
---|
32 | 'filePerms' => 0644,
|
---|
33 |
|
---|
34 | 'access' => array(
|
---|
35 |
|
---|
36 | 'files' => array(
|
---|
37 | 'upload' => true,
|
---|
38 | 'delete' => true,
|
---|
39 | 'copy' => true,
|
---|
40 | 'move' => true,
|
---|
41 | 'rename' => true
|
---|
42 | ),
|
---|
43 |
|
---|
44 | 'dirs' => array(
|
---|
45 | 'create' => true,
|
---|
46 | 'delete' => true,
|
---|
47 | 'rename' => true
|
---|
48 | )
|
---|
49 | ),
|
---|
50 |
|
---|
51 | 'deniedExts' => "exe com msi bat php phps phtml php3 php4 cgi pl",
|
---|
52 |
|
---|
53 | 'types' => array(
|
---|
54 |
|
---|
55 | // CKEditor & FCKEditor types
|
---|
56 | 'files' => "",
|
---|
57 | 'flash' => "swf",
|
---|
58 | 'images' => "*img",
|
---|
59 |
|
---|
60 | // TinyMCE types
|
---|
61 | 'file' => "",
|
---|
62 | 'media' => "swf flv avi mpg mpeg qt mov wmv asf rm",
|
---|
63 | 'image' => "*img",
|
---|
64 | ),
|
---|
65 |
|
---|
66 | 'filenameChangeChars' => array(/*
|
---|
67 | ' ' => "_",
|
---|
68 | ':' => "."
|
---|
69 | */),
|
---|
70 |
|
---|
71 | 'dirnameChangeChars' => array(/*
|
---|
72 | ' ' => "_",
|
---|
73 | ':' => "."
|
---|
74 | */),
|
---|
75 |
|
---|
76 | 'mime_magic' => "",
|
---|
77 |
|
---|
78 | 'maxImageWidth' => 0,
|
---|
79 | 'maxImageHeight' => 0,
|
---|
80 |
|
---|
81 | 'thumbWidth' => 100,
|
---|
82 | 'thumbHeight' => 100,
|
---|
83 |
|
---|
84 | 'thumbsDir' => ".thumbs",
|
---|
85 |
|
---|
86 | 'jpegQuality' => 90,
|
---|
87 |
|
---|
88 | 'cookieDomain' => "",
|
---|
89 | 'cookiePath' => "",
|
---|
90 | 'cookiePrefix' => 'KCFINDER_',
|
---|
91 |
|
---|
92 | // THE FOLLOWING SETTINGS CANNOT BE OVERRIDED WITH SESSION CONFIGURATION
|
---|
93 | '_check4htaccess' => true,
|
---|
94 | //'_tinyMCEPath' => "/tiny_mce",
|
---|
95 |
|
---|
96 | '_sessionVar' => &$_SESSION['KCFINDER'],
|
---|
97 | //'_sessionLifetime' => 30,
|
---|
98 | //'_sessionDir' => "/full/directory/path",
|
---|
99 |
|
---|
100 | //'_sessionDomain' => ".mysite.com",
|
---|
101 | //'_sessionPath' => "/my/path",
|
---|
102 | );
|
---|
103 |
|
---|
104 | ?>
|
---|