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