1<?php
2
3/**
4 * The default config cascade
5 *
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 */
9
10$config_cascade = array_merge(
11    [
12        'main' => [
13            'default' => [DOKU_CONF . 'dokuwiki.php'],
14            'local' => [DOKU_CONF . 'local.php'],
15            'protected' => [DOKU_CONF . 'local.protected.php']
16        ],
17        'acronyms' => [
18            'default' => [DOKU_CONF . 'acronyms.conf'],
19            'local' => [DOKU_CONF . 'acronyms.local.conf']
20        ],
21        'entities' => [
22            'default' => [DOKU_CONF . 'entities.conf'],
23            'local' => [DOKU_CONF . 'entities.local.conf']
24        ],
25        'interwiki' => [
26            'default' => [DOKU_CONF . 'interwiki.conf'],
27            'local' => [DOKU_CONF . 'interwiki.local.conf']
28        ],
29        'license' => [
30            'default' => [DOKU_CONF . 'license.php'],
31            'local' => [DOKU_CONF . 'license.local.php']
32        ],
33        'manifest' => [
34            'default' => [DOKU_CONF . 'manifest.json'],
35            'local' => [DOKU_CONF . 'manifest.local.json']
36        ],
37        'mediameta' => [
38            'default' => [DOKU_CONF . 'mediameta.php'],
39            'local' => [DOKU_CONF . 'mediameta.local.php']
40        ],
41        'mime' => [
42            'default' => [DOKU_CONF . 'mime.conf'],
43            'local' => [DOKU_CONF . 'mime.local.conf']
44        ],
45        'scheme' => [
46            'default' => [DOKU_CONF . 'scheme.conf'],
47            'local' => [DOKU_CONF . 'scheme.local.conf']
48        ],
49        'smileys' => [
50            'default' => [DOKU_CONF . 'smileys.conf'],
51            'local' => [DOKU_CONF . 'smileys.local.conf']
52        ],
53        'wordblock' => [
54            'default' => [DOKU_CONF . 'wordblock.conf'],
55            'local' => [DOKU_CONF . 'wordblock.local.conf']
56        ],
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']
62        ],
63        'userscript' => [
64            'default' => [DOKU_CONF . 'userscript.js']
65        ],
66        'styleini' => [
67            'default' => [DOKU_INC . 'lib/tpl/%TEMPLATE%/' . 'style.ini'],
68            'local' => [DOKU_CONF . 'tpl/%TEMPLATE%/' . 'style.ini']
69        ],
70        'acl' => [
71            'default' => DOKU_CONF . 'acl.auth.php'
72        ],
73        'plainauth.users' => [
74            'default' => DOKU_CONF . 'users.auth.php',
75            'protected' => ''
76        ],
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']
81        ],
82        'lang' => [
83            'core' => [DOKU_CONF . 'lang/'],
84            'plugin' => [DOKU_CONF . 'plugin_lang/'],
85            'template' => [DOKU_CONF . 'template_lang/']
86        ]
87    ],
88    $config_cascade
89);
90