xref: /dokuwiki/inc/config_cascade.php (revision d4f83172d9533c4d84f450fe22ef630816b21d75)
1e6a6dbfeSAndreas Gohr<?php
2*d4f83172SAndreas Gohr
3e6a6dbfeSAndreas Gohr/**
4e6a6dbfeSAndreas Gohr * The default config cascade
5e6a6dbfeSAndreas Gohr *
6e6a6dbfeSAndreas Gohr * This array configures the default locations of various files in the
7e6a6dbfeSAndreas Gohr * DokuWiki directory hierarchy. It can be overriden in inc/preload.php
8e6a6dbfeSAndreas Gohr */
9*d4f83172SAndreas Gohr
10cca94fbcSRoland Hager$config_cascade = array_merge(
1124870174SAndreas Gohr    [
1224870174SAndreas Gohr        'main' => [
1324870174SAndreas Gohr            'default' => [DOKU_CONF . 'dokuwiki.php'],
1424870174SAndreas Gohr            'local' => [DOKU_CONF . 'local.php'],
1524870174SAndreas Gohr            'protected' => [DOKU_CONF . 'local.protected.php']
1624870174SAndreas Gohr        ],
1724870174SAndreas Gohr        'acronyms' => [
1824870174SAndreas Gohr            'default' => [DOKU_CONF . 'acronyms.conf'],
1924870174SAndreas Gohr            'local' => [DOKU_CONF . 'acronyms.local.conf']
2024870174SAndreas Gohr        ],
2124870174SAndreas Gohr        'entities' => [
2224870174SAndreas Gohr            'default' => [DOKU_CONF . 'entities.conf'],
2324870174SAndreas Gohr            'local' => [DOKU_CONF . 'entities.local.conf']
2424870174SAndreas Gohr        ],
2524870174SAndreas Gohr        'interwiki' => [
2624870174SAndreas Gohr            'default' => [DOKU_CONF . 'interwiki.conf'],
2724870174SAndreas Gohr            'local' => [DOKU_CONF . 'interwiki.local.conf']
2824870174SAndreas Gohr        ],
2924870174SAndreas Gohr        'license' => [
3024870174SAndreas Gohr            'default' => [DOKU_CONF . 'license.php'],
3124870174SAndreas Gohr            'local' => [DOKU_CONF . 'license.local.php']
3224870174SAndreas Gohr        ],
3324870174SAndreas Gohr        'manifest' => [
3424870174SAndreas Gohr            'default' => [DOKU_CONF . 'manifest.json'],
3524870174SAndreas Gohr            'local' => [DOKU_CONF . 'manifest.local.json']
3624870174SAndreas Gohr        ],
3724870174SAndreas Gohr        'mediameta' => [
3824870174SAndreas Gohr            'default' => [DOKU_CONF . 'mediameta.php'],
3924870174SAndreas Gohr            'local' => [DOKU_CONF . 'mediameta.local.php']
4024870174SAndreas Gohr        ],
4124870174SAndreas Gohr        'mime' => [
4224870174SAndreas Gohr            'default' => [DOKU_CONF . 'mime.conf'],
4324870174SAndreas Gohr            'local' => [DOKU_CONF . 'mime.local.conf']
4424870174SAndreas Gohr        ],
4524870174SAndreas Gohr        'scheme' => [
4624870174SAndreas Gohr            'default' => [DOKU_CONF . 'scheme.conf'],
4724870174SAndreas Gohr            'local' => [DOKU_CONF . 'scheme.local.conf']
4824870174SAndreas Gohr        ],
4924870174SAndreas Gohr        'smileys' => [
5024870174SAndreas Gohr            'default' => [DOKU_CONF . 'smileys.conf'],
5124870174SAndreas Gohr            'local' => [DOKU_CONF . 'smileys.local.conf']
5224870174SAndreas Gohr        ],
5324870174SAndreas Gohr        'wordblock' => [
5424870174SAndreas Gohr            'default' => [DOKU_CONF . 'wordblock.conf'],
5524870174SAndreas Gohr            'local' => [DOKU_CONF . 'wordblock.local.conf']
5624870174SAndreas Gohr        ],
5724870174SAndreas Gohr        'userstyle' => [
5824870174SAndreas Gohr            'screen' => [DOKU_CONF . 'userstyle.css', DOKU_CONF . 'userstyle.less'],
5924870174SAndreas Gohr            'print' => [DOKU_CONF . 'userprint.css', DOKU_CONF . 'userprint.less'],
6024870174SAndreas Gohr            'feed' => [DOKU_CONF . 'userfeed.css', DOKU_CONF . 'userfeed.less'],
6124870174SAndreas Gohr            'all' => [DOKU_CONF . 'userall.css', DOKU_CONF . 'userall.less']
6224870174SAndreas Gohr        ],
6324870174SAndreas Gohr        'userscript' => [
6424870174SAndreas Gohr            'default' => [DOKU_CONF . 'userscript.js']
6524870174SAndreas Gohr        ],
6624870174SAndreas Gohr        'styleini' => [
6724870174SAndreas Gohr            'default' => [DOKU_INC . 'lib/tpl/%TEMPLATE%/' . 'style.ini'],
6824870174SAndreas Gohr            'local' => [DOKU_CONF . 'tpl/%TEMPLATE%/' . 'style.ini']
6924870174SAndreas Gohr        ],
7024870174SAndreas Gohr        'acl' => [
7124870174SAndreas Gohr            'default' => DOKU_CONF . 'acl.auth.php'
7224870174SAndreas Gohr        ],
7324870174SAndreas Gohr        'plainauth.users' => [
74e6a6dbfeSAndreas Gohr            'default' => DOKU_CONF . 'users.auth.php',
7524870174SAndreas Gohr            'protected' => ''
7624870174SAndreas Gohr        ],
7724870174SAndreas Gohr        'plugins' => [
7824870174SAndreas Gohr            'default' => [DOKU_CONF . 'plugins.php'],
7924870174SAndreas Gohr            'local' => [DOKU_CONF . 'plugins.local.php'],
8024870174SAndreas Gohr            'protected' => [DOKU_CONF . 'plugins.required.php', DOKU_CONF . 'plugins.protected.php']
8124870174SAndreas Gohr        ],
8224870174SAndreas Gohr        'lang' => [
8324870174SAndreas Gohr            'core' => [DOKU_CONF . 'lang/'],
8424870174SAndreas Gohr            'plugin' => [DOKU_CONF . 'plugin_lang/'],
8524870174SAndreas Gohr            'template' => [DOKU_CONF . 'template_lang/']
8624870174SAndreas Gohr        ]
8724870174SAndreas Gohr    ],
88cca94fbcSRoland Hager    $config_cascade
89e6a6dbfeSAndreas Gohr);
90