Mereged updates from DokuWiki 38
[sudaraka-org:dokuwiki-mods.git] / inc / config_cascade.php
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'  => DOKU_CONF.'userstyle.css',
53             // @deprecated 2012-04-09: rtl will cease to be a mode of its own,
54             //     please use "[dir=rtl]" in any css file in all, screen or print mode instead
55             'rtl'     => DOKU_CONF.'userrtl.css',
56             'print'   => DOKU_CONF.'userprint.css',
57             'feed'    => DOKU_CONF.'userfeed.css',
58             'all'     => DOKU_CONF.'userall.css',
59             ),
60         'userscript' => array(
61             'default' => DOKU_CONF.'userscript.js'
62             ),
63         'acl'       => array(
64             'default'   => DOKU_CONF.'acl.auth.php',
65             ),
66         'plainauth.users' => array(
67             'default' => DOKU_CONF.'users.auth.php',
68             ),
69
70         'plugins' => array(
71             'default'   => array(DOKU_CONF.'plugins.php'),
72             'local'     => array(DOKU_CONF.'plugins.local.php'),
73             'protected' => array(
74                 DOKU_CONF.'plugins.required.php',
75                 DOKU_CONF.'plugins.protected.php',
76                 ),
77             ),
78         ),
79         $config_cascade
80 );
81