shortcut relative link: fix 3 levels up situation
[dokuwiki.git] / inc / config_cascade.php
blob61d099c6e50808d4fd01a961a1abd3f2e0623494
1 <?php
2 /**
3 * The default config cascade
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'),
15 'acronyms' => array(
16 'default' => array(DOKU_CONF . 'acronyms.conf'),
17 'local' => array(DOKU_CONF . 'acronyms.local.conf'),
19 'entities' => array(
20 'default' => array(DOKU_CONF . 'entities.conf'),
21 'local' => array(DOKU_CONF . 'entities.local.conf'),
23 'interwiki' => array(
24 'default' => array(DOKU_CONF . 'interwiki.conf'),
25 'local' => array(DOKU_CONF . 'interwiki.local.conf'),
27 'license' => array(
28 'default' => array(DOKU_CONF . 'license.php'),
29 'local' => array(DOKU_CONF . 'license.local.php'),
31 'manifest' => array(
32 'default' => array(DOKU_CONF . 'manifest.json'),
33 'local' => array(DOKU_CONF . 'manifest.local.json'),
35 'mediameta' => array(
36 'default' => array(DOKU_CONF . 'mediameta.php'),
37 'local' => array(DOKU_CONF . 'mediameta.local.php'),
39 'mime' => array(
40 'default' => array(DOKU_CONF . 'mime.conf'),
41 'local' => array(DOKU_CONF . 'mime.local.conf'),
43 'scheme' => array(
44 'default' => array(DOKU_CONF . 'scheme.conf'),
45 'local' => array(DOKU_CONF . 'scheme.local.conf'),
47 'smileys' => array(
48 'default' => array(DOKU_CONF . 'smileys.conf'),
49 'local' => array(DOKU_CONF . 'smileys.local.conf'),
51 'wordblock' => array(
52 'default' => array(DOKU_CONF . 'wordblock.conf'),
53 'local' => array(DOKU_CONF . 'wordblock.local.conf'),
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')
61 'userscript' => array(
62 'default' => array(DOKU_CONF . 'userscript.js')
64 'styleini' => array(
65 'default' => array(DOKU_INC . 'lib/tpl/%TEMPLATE%/' . 'style.ini'),
66 'local' => array(DOKU_CONF . 'tpl/%TEMPLATE%/' . 'style.ini')
68 'acl' => array(
69 'default' => DOKU_CONF . 'acl.auth.php',
71 'plainauth.users' => array(
72 'default' => DOKU_CONF . 'users.auth.php',
73 'protected' => '' // not used by default
75 'plugins' => array(
76 'default' => array(DOKU_CONF . 'plugins.php'),
77 'local' => array(DOKU_CONF . 'plugins.local.php'),
78 'protected' => array(
79 DOKU_CONF . 'plugins.required.php',
80 DOKU_CONF . 'plugins.protected.php',
83 'lang' => array(
84 'core' => array(DOKU_CONF . 'lang/'),
85 'plugin' => array(DOKU_CONF . 'plugin_lang/'),
86 'template' => array(DOKU_CONF . 'template_lang/')
89 $config_cascade