xref: /dokuwiki/inc/config_cascade.php (revision cca94fbcfc035dabe5597e8565671c84862268e9)
1e6a6dbfeSAndreas Gohr<?php
2e6a6dbfeSAndreas Gohr/**
3e6a6dbfeSAndreas Gohr * The default config cascade
4e6a6dbfeSAndreas Gohr *
5e6a6dbfeSAndreas Gohr * This array configures the default locations of various files in the
6e6a6dbfeSAndreas Gohr * DokuWiki directory hierarchy. It can be overriden in inc/preload.php
7e6a6dbfeSAndreas Gohr */
8*cca94fbcSRoland Hager$config_cascade = array_merge(
9*cca94fbcSRoland Hager    array(
10e6a6dbfeSAndreas Gohr        'main' => array(
11e6a6dbfeSAndreas Gohr            'default'   => array(DOKU_CONF.'dokuwiki.php'),
12e6a6dbfeSAndreas Gohr            'local'     => array(DOKU_CONF.'local.php'),
13e6a6dbfeSAndreas Gohr            'protected' => array(DOKU_CONF.'local.protected.php'),
14e6a6dbfeSAndreas Gohr            ),
15e6a6dbfeSAndreas Gohr        'acronyms'  => array(
16e6a6dbfeSAndreas Gohr            'default'   => array(DOKU_CONF.'acronyms.conf'),
17e6a6dbfeSAndreas Gohr            'local'     => array(DOKU_CONF.'acronyms.local.conf'),
18e6a6dbfeSAndreas Gohr            ),
19e6a6dbfeSAndreas Gohr        'entities'  => array(
20e6a6dbfeSAndreas Gohr            'default'   => array(DOKU_CONF.'entities.conf'),
21e6a6dbfeSAndreas Gohr            'local'     => array(DOKU_CONF.'entities.local.conf'),
22e6a6dbfeSAndreas Gohr            ),
23e6a6dbfeSAndreas Gohr        'interwiki' => array(
24e6a6dbfeSAndreas Gohr            'default'   => array(DOKU_CONF.'interwiki.conf'),
25e6a6dbfeSAndreas Gohr            'local'     => array(DOKU_CONF.'interwiki.local.conf'),
26e6a6dbfeSAndreas Gohr            ),
27e6a6dbfeSAndreas Gohr        'license' => array(
28e6a6dbfeSAndreas Gohr            'default'   => array(DOKU_CONF.'license.php'),
29e6a6dbfeSAndreas Gohr            'local'     => array(DOKU_CONF.'license.local.php'),
30e6a6dbfeSAndreas Gohr            ),
31e6a6dbfeSAndreas Gohr        'mediameta' => array(
32e6a6dbfeSAndreas Gohr            'default'   => array(DOKU_CONF.'mediameta.php'),
33e6a6dbfeSAndreas Gohr            'local'     => array(DOKU_CONF.'mediameta.local.php'),
34e6a6dbfeSAndreas Gohr            ),
35e6a6dbfeSAndreas Gohr        'mime'      => array(
36e6a6dbfeSAndreas Gohr            'default'   => array(DOKU_CONF.'mime.conf'),
37e6a6dbfeSAndreas Gohr            'local'     => array(DOKU_CONF.'mime.local.conf'),
38e6a6dbfeSAndreas Gohr            ),
39e6a6dbfeSAndreas Gohr        'scheme'    => array(
40e6a6dbfeSAndreas Gohr            'default'   => array(DOKU_CONF.'scheme.conf'),
41e6a6dbfeSAndreas Gohr            'local'     => array(DOKU_CONF.'scheme.local.conf'),
42e6a6dbfeSAndreas Gohr            ),
43e6a6dbfeSAndreas Gohr        'smileys'   => array(
44e6a6dbfeSAndreas Gohr            'default'   => array(DOKU_CONF.'smileys.conf'),
45e6a6dbfeSAndreas Gohr            'local'     => array(DOKU_CONF.'smileys.local.conf'),
46e6a6dbfeSAndreas Gohr            ),
47e6a6dbfeSAndreas Gohr        'wordblock' => array(
48e6a6dbfeSAndreas Gohr            'default'   => array(DOKU_CONF.'wordblock.conf'),
49e6a6dbfeSAndreas Gohr            'local'     => array(DOKU_CONF.'wordblock.local.conf'),
50e6a6dbfeSAndreas Gohr            ),
5109edb711SAndreas Gohr        'userstyle' => array(
5209edb711SAndreas Gohr            'default' => DOKU_CONF.'userstyle.css',
5309edb711SAndreas Gohr            'print'   => DOKU_CONF.'printstyle.css',
5409edb711SAndreas Gohr            'feed'    => DOKU_CONF.'feedstyle.css',
5509edb711SAndreas Gohr            'all'     => DOKU_CONF.'allstyle.css',
5609edb711SAndreas Gohr            ),
5709edb711SAndreas Gohr        'userscript' => array(
5809edb711SAndreas Gohr            'default' => DOKU_CONF.'userscript.js'
5909edb711SAndreas Gohr            ),
60e6a6dbfeSAndreas Gohr        'acl'       => array(
61e6a6dbfeSAndreas Gohr            'default'   => DOKU_CONF.'acl.auth.php',
62e6a6dbfeSAndreas Gohr            ),
63e6a6dbfeSAndreas Gohr        'plainauth.users' => array(
64e6a6dbfeSAndreas Gohr            'default' => DOKU_CONF.'users.auth.php',
65e6a6dbfeSAndreas Gohr            ),
66*cca94fbcSRoland Hager        ),
67*cca94fbcSRoland Hager        $config_cascade
68e6a6dbfeSAndreas Gohr);
69e6a6dbfeSAndreas Gohr
70