Codestyle + check trustedproxies
[dokuwiki.git] / inc / config_cascade.php
blobf723adabea852250f465d9112a249af7cdcedff2
1 <?php
3 /**
4 * The default config cascade
6 * This array configures the default locations of various files in the
7 * DokuWiki directory hierarchy. It can be overriden in inc/preload.php
8 */
10 $config_cascade = array_merge(
12 'main' => [
13 'default' => [DOKU_CONF . 'dokuwiki.php'],
14 'local' => [DOKU_CONF . 'local.php'],
15 'protected' => [DOKU_CONF . 'local.protected.php']
17 'acronyms' => [
18 'default' => [DOKU_CONF . 'acronyms.conf'],
19 'local' => [DOKU_CONF . 'acronyms.local.conf']
21 'entities' => [
22 'default' => [DOKU_CONF . 'entities.conf'],
23 'local' => [DOKU_CONF . 'entities.local.conf']
25 'interwiki' => [
26 'default' => [DOKU_CONF . 'interwiki.conf'],
27 'local' => [DOKU_CONF . 'interwiki.local.conf']
29 'license' => [
30 'default' => [DOKU_CONF . 'license.php'],
31 'local' => [DOKU_CONF . 'license.local.php']
33 'manifest' => [
34 'default' => [DOKU_CONF . 'manifest.json'],
35 'local' => [DOKU_CONF . 'manifest.local.json']
37 'mediameta' => [
38 'default' => [DOKU_CONF . 'mediameta.php'],
39 'local' => [DOKU_CONF . 'mediameta.local.php']
41 'mime' => [
42 'default' => [DOKU_CONF . 'mime.conf'],
43 'local' => [DOKU_CONF . 'mime.local.conf']
45 'scheme' => [
46 'default' => [DOKU_CONF . 'scheme.conf'],
47 'local' => [DOKU_CONF . 'scheme.local.conf']
49 'smileys' => [
50 'default' => [DOKU_CONF . 'smileys.conf'],
51 'local' => [DOKU_CONF . 'smileys.local.conf']
53 'wordblock' => [
54 'default' => [DOKU_CONF . 'wordblock.conf'],
55 'local' => [DOKU_CONF . 'wordblock.local.conf']
57 'userstyle' => [
58 'screen' => [DOKU_CONF . 'userstyle.css', DOKU_CONF . 'userstyle.less'],
59 'print' => [DOKU_CONF . 'userprint.css', DOKU_CONF . 'userprint.less'],
60 'feed' => [DOKU_CONF . 'userfeed.css', DOKU_CONF . 'userfeed.less'],
61 'all' => [DOKU_CONF . 'userall.css', DOKU_CONF . 'userall.less']
63 'userscript' => [
64 'default' => [DOKU_CONF . 'userscript.js']
66 'styleini' => [
67 'default' => [DOKU_INC . 'lib/tpl/%TEMPLATE%/' . 'style.ini'],
68 'local' => [DOKU_CONF . 'tpl/%TEMPLATE%/' . 'style.ini']
70 'acl' => [
71 'default' => DOKU_CONF . 'acl.auth.php'
73 'plainauth.users' => [
74 'default' => DOKU_CONF . 'users.auth.php',
75 'protected' => ''
77 'plugins' => [
78 'default' => [DOKU_CONF . 'plugins.php'],
79 'local' => [DOKU_CONF . 'plugins.local.php'],
80 'protected' => [DOKU_CONF . 'plugins.required.php', DOKU_CONF . 'plugins.protected.php']
82 'lang' => [
83 'core' => [DOKU_CONF . 'lang/'],
84 'plugin' => [DOKU_CONF . 'plugin_lang/'],
85 'template' => [DOKU_CONF . 'template_lang/']
88 $config_cascade