xref: /dokuwiki/inc/config_cascade.php (revision 91109d52e565c2a87aeee0650c7248472e54713a)
1<?php
2/**
3 * The default config cascade
4 *
5 * This array configures the default locations of various files in the
6 * DokuWiki directory hierarchy. It can be overriden in inc/preload.php
7 */
8$config_cascade = array_merge(
9    array(
10        'main' => array(
11            'default'   => array(DOKU_CONF . 'dokuwiki.php'),
12            'local'     => array(DOKU_CONF . 'local.php'),
13            'protected' => array(DOKU_CONF . 'local.protected.php'),
14        ),
15        'acronyms' => array(
16            'default'   => array(DOKU_CONF . 'acronyms.conf'),
17            'local'     => array(DOKU_CONF . 'acronyms.local.conf'),
18        ),
19        'entities' => array(
20            'default'   => array(DOKU_CONF . 'entities.conf'),
21            'local'     => array(DOKU_CONF . 'entities.local.conf'),
22        ),
23        'interwiki' => array(
24            'default'   => array(DOKU_CONF . 'interwiki.conf'),
25            'local'     => array(DOKU_CONF . 'interwiki.local.conf'),
26        ),
27        'license' => array(
28            'default'   => array(DOKU_CONF . 'license.php'),
29            'local'     => array(DOKU_CONF . 'license.local.php'),
30        ),
31        'manifest' => array(
32            'default'   => array(DOKU_CONF . 'manifest.json'),
33            'local'     => array(DOKU_CONF . 'manifest.local.json'),
34        ),
35        'mediameta' => array(
36            'default'   => array(DOKU_CONF . 'mediameta.php'),
37            'local'     => array(DOKU_CONF . 'mediameta.local.php'),
38        ),
39        'mime' => array(
40            'default'   => array(DOKU_CONF . 'mime.conf'),
41            'local'     => array(DOKU_CONF . 'mime.local.conf'),
42        ),
43        'scheme' => array(
44            'default'   => array(DOKU_CONF . 'scheme.conf'),
45            'local'     => array(DOKU_CONF . 'scheme.local.conf'),
46        ),
47        'smileys' => array(
48            'default'   => array(DOKU_CONF . 'smileys.conf'),
49            'local'     => array(DOKU_CONF . 'smileys.local.conf'),
50        ),
51        'wordblock' => array(
52            'default'   => array(DOKU_CONF . 'wordblock.conf'),
53            'local'     => array(DOKU_CONF . 'wordblock.local.conf'),
54        ),
55        'userstyle' => array(
56            'screen'    => array(DOKU_CONF . 'userstyle.css', DOKU_CONF . 'userstyle.less'),
57            'print'     => array(DOKU_CONF . 'userprint.css', DOKU_CONF . 'userprint.less'),
58            'feed'      => array(DOKU_CONF . 'userfeed.css', DOKU_CONF . 'userfeed.less'),
59            'all'       => array(DOKU_CONF . 'userall.css', DOKU_CONF . 'userall.less')
60        ),
61        'userscript' => array(
62            'default'   => array(DOKU_CONF . 'userscript.js')
63        ),
64        'acl' => array(
65            'default'   => DOKU_CONF . 'acl.auth.php',
66        ),
67        'plainauth.users' => array(
68            'default'   => DOKU_CONF . 'users.auth.php',
69            'protected' => '' // not used by default
70        ),
71        'plugins' => array(
72            'default'   => array(DOKU_CONF . 'plugins.php'),
73            'local'     => array(DOKU_CONF . 'plugins.local.php'),
74            'protected' => array(
75                DOKU_CONF . 'plugins.required.php',
76                DOKU_CONF . 'plugins.protected.php',
77            ),
78        ),
79        'lang' => array(
80            'core'      => array(DOKU_CONF . 'lang/'),
81            'plugin'    => array(DOKU_CONF . 'plugin_lang/'),
82            'template'  => array(DOKU_CONF . 'template_lang/')
83        )
84    ),
85    $config_cascade
86);
87
88