xref: /dokuwiki/inc/config_cascade.php (revision 54974451e8a65346968716c9ae79a1a5d970d09e)
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        'mediameta' => array(
32            'default'   => array(DOKU_CONF . 'mediameta.php'),
33            'local'     => array(DOKU_CONF . 'mediameta.local.php'),
34        ),
35        'mime' => array(
36            'default'   => array(DOKU_CONF . 'mime.conf'),
37            'local'     => array(DOKU_CONF . 'mime.local.conf'),
38        ),
39        'scheme' => array(
40            'default'   => array(DOKU_CONF . 'scheme.conf'),
41            'local'     => array(DOKU_CONF . 'scheme.local.conf'),
42        ),
43        'smileys' => array(
44            'default'   => array(DOKU_CONF . 'smileys.conf'),
45            'local'     => array(DOKU_CONF . 'smileys.local.conf'),
46        ),
47        'wordblock' => array(
48            'default'   => array(DOKU_CONF . 'wordblock.conf'),
49            'local'     => array(DOKU_CONF . 'wordblock.local.conf'),
50        ),
51        'userstyle' => array(
52            'screen'    => array(DOKU_CONF . 'userstyle.css', DOKU_CONF . 'userstyle.less'),
53            'print'     => array(DOKU_CONF . 'userprint.css', DOKU_CONF . 'userprint.less'),
54            'feed'      => array(DOKU_CONF . 'userfeed.css', DOKU_CONF . 'userfeed.less'),
55            'all'       => array(DOKU_CONF . 'userall.css', DOKU_CONF . 'userall.less')
56        ),
57        'userscript' => array(
58            'default'   => array(DOKU_CONF . 'userscript.js')
59        ),
60        'acl' => array(
61            'default'   => DOKU_CONF . 'acl.auth.php',
62        ),
63        'plainauth.users' => array(
64            'default'   => DOKU_CONF . 'users.auth.php',
65        ),
66        'plugins' => array(
67            'default'   => array(DOKU_CONF . 'plugins.php'),
68            'local'     => array(DOKU_CONF . 'plugins.local.php'),
69            'protected' => array(
70                DOKU_CONF . 'plugins.required.php',
71                DOKU_CONF . 'plugins.protected.php',
72            ),
73        ),
74        'lang' => array(
75            'core'      => array(DOKU_CONF . 'lang/'),
76            'plugin'    => array(DOKU_CONF . 'plugin_lang/'),
77            'template'  => array(DOKU_CONF . 'template_lang/')
78        )
79    ),
80    $config_cascade
81);
82
83