]> git.pld-linux.org Git - packages/dokuwiki.git/blob - preload.php
Up to 20230404a
[packages/dokuwiki.git] / preload.php
1 <?php
2 /**
3  * The config cascade
4  *
5  * This array configures the locations of various files in the
6  * DokuWiki directory hierarchy.
7  */
8
9 define('DOKU_LOCAL', '/etc/webapps/dokuwiki/');
10 define('DOKU_CONF', dirname(__DIR__) . '/conf/');
11
12 $config_cascade = array(
13     'main' => array(
14         'default' => array(DOKU_CONF . 'dokuwiki.php'),
15         'local' => array(DOKU_LOCAL . 'local.php'),
16         'protected' => array(DOKU_LOCAL . 'local.protected.php'),
17     ),
18     'acronyms' => array(
19         'default' => array(DOKU_CONF . 'acronyms.conf'),
20         'local' => array(DOKU_LOCAL . 'acronyms.local.conf'),
21     ),
22     'entities' => array(
23         'default' => array(DOKU_CONF . 'entities.conf'),
24         'local' => array(DOKU_LOCAL . 'entities.local.conf'),
25     ),
26     'interwiki' => array(
27         'default' => array(DOKU_CONF . 'interwiki.conf'),
28         'local' => array(DOKU_LOCAL . 'interwiki.local.conf'),
29     ),
30     'license' => array(
31         'default' => array(DOKU_CONF . 'license.php'),
32         'local' => array(DOKU_LOCAL . 'license.local.php'),
33     ),
34     'manifest' => array(
35         'default' => array(DOKU_CONF . 'manifest.json'),
36         'local' => array(DOKU_LOCAL . 'manifest.local.json'),
37     ),
38     'mediameta' => array(
39         'default' => array(DOKU_CONF . 'mediameta.php'),
40         'local' => array(DOKU_LOCAL . 'mediameta.local.php'),
41     ),
42     'mime' => array(
43         'default' => array(DOKU_CONF . 'mime.conf'),
44         'local' => array(DOKU_LOCAL . 'mime.local.conf'),
45     ),
46     'scheme' => array(
47         'default' => array(DOKU_CONF . 'scheme.conf'),
48         'local' => array(DOKU_LOCAL . 'scheme.local.conf'),
49     ),
50     'smileys' => array(
51         'default' => array(DOKU_CONF . 'smileys.conf'),
52         'local' => array(DOKU_LOCAL . 'smileys.local.conf'),
53     ),
54     'wordblock' => array(
55         'default' => array(DOKU_CONF . 'wordblock.conf'),
56         'local' => array(DOKU_LOCAL . 'wordblock.local.conf'),
57     ),
58     'userstyle' => array(
59         'screen' => array(DOKU_LOCAL . 'userstyle.css', DOKU_LOCAL . 'userstyle.less'),
60         'print' => array(DOKU_LOCAL . 'userprint.css', DOKU_LOCAL . 'userprint.less'),
61         'feed' => array(DOKU_LOCAL . 'userfeed.css', DOKU_LOCAL . 'userfeed.less'),
62         'all' => array(DOKU_LOCAL . 'userall.css', DOKU_LOCAL . 'userall.less')
63     ),
64     'userscript' => array(
65         'default' => array(DOKU_LOCAL . 'userscript.js')
66     ),
67     'styleini' => array(
68         'default' => array(DOKU_INC . 'lib/tpl/%TEMPLATE%/' . 'style.ini'),
69         'local' => array(DOKU_LOCAL . 'tpl/%TEMPLATE%/' . 'style.ini')
70     ),
71     'acl' => array(
72         'default' => DOKU_LOCAL . 'acl.auth.php',
73     ),
74     'plainauth.users' => array(
75         'default' => DOKU_LOCAL . 'users.auth.php',
76         'protected' => '' // not used by default
77     ),
78     'plugins' => array(
79         'default' => array(DOKU_LOCAL . 'plugins.php'),
80         'local' => array(DOKU_LOCAL . 'plugins.local.php'),
81         'protected' => array(
82             DOKU_CONF . 'plugins.required.php',
83             DOKU_LOCAL . 'plugins.protected.php',
84         ),
85     ),
86     'lang' => array(
87         'core' => array(DOKU_LOCAL . 'lang/'),
88         'plugin' => array(DOKU_LOCAL . 'plugin_lang/'),
89         'template' => array(DOKU_LOCAL . 'template_lang/')
90     ),
91 );
This page took 0.066339 seconds and 3 git commands to generate.