[ Index ]

PHP Cross Reference of DokuWiki

title

Body

[close]

/inc/ -> config_cascade.php (source)

   1  <?php
   2  /**
   3   * The default config cascade
   4   *
   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'),
  14          ),
  15          'acronyms' => array(
  16              'default'   => array(DOKU_CONF . 'acronyms.conf'),
  17              'local'     => array(DOKU_CONF . 'acronyms.local.conf'),
  18          ),
  19          'entities' => array(
  20              'default'   => array(DOKU_CONF . 'entities.conf'),
  21              'local'     => array(DOKU_CONF . 'entities.local.conf'),
  22          ),
  23          'interwiki' => array(
  24              'default'   => array(DOKU_CONF . 'interwiki.conf'),
  25              'local'     => array(DOKU_CONF . 'interwiki.local.conf'),
  26          ),
  27          'license' => array(
  28              'default'   => array(DOKU_CONF . 'license.php'),
  29              'local'     => array(DOKU_CONF . 'license.local.php'),
  30          ),
  31          'manifest' => array(
  32              'default'   => array(DOKU_CONF . 'manifest.json'),
  33              'local'     => array(DOKU_CONF . 'manifest.local.json'),
  34          ),
  35          'mediameta' => array(
  36              'default'   => array(DOKU_CONF . 'mediameta.php'),
  37              'local'     => array(DOKU_CONF . 'mediameta.local.php'),
  38          ),
  39          'mime' => array(
  40              'default'   => array(DOKU_CONF . 'mime.conf'),
  41              'local'     => array(DOKU_CONF . 'mime.local.conf'),
  42          ),
  43          'scheme' => array(
  44              'default'   => array(DOKU_CONF . 'scheme.conf'),
  45              'local'     => array(DOKU_CONF . 'scheme.local.conf'),
  46          ),
  47          'smileys' => array(
  48              'default'   => array(DOKU_CONF . 'smileys.conf'),
  49              'local'     => array(DOKU_CONF . 'smileys.local.conf'),
  50          ),
  51          'wordblock' => array(
  52              'default'   => array(DOKU_CONF . 'wordblock.conf'),
  53              'local'     => array(DOKU_CONF . 'wordblock.local.conf'),
  54          ),
  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')
  60          ),
  61          'userscript' => array(
  62              'default'   => array(DOKU_CONF . 'userscript.js')
  63          ),
  64          'styleini' => array(
  65              'default'   => array(DOKU_INC . 'lib/tpl/%TEMPLATE%/' . 'style.ini'),
  66              'local'     => array(DOKU_CONF . 'tpl/%TEMPLATE%/' . 'style.ini')
  67          ),
  68          'acl' => array(
  69              'default'   => DOKU_CONF . 'acl.auth.php',
  70          ),
  71          'plainauth.users' => array(
  72              'default'   => DOKU_CONF . 'users.auth.php',
  73              'protected' => '' // not used by default
  74          ),
  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',
  81              ),
  82          ),
  83          'lang' => array(
  84              'core'      => array(DOKU_CONF . 'lang/'),
  85              'plugin'    => array(DOKU_CONF . 'plugin_lang/'),
  86              'template'  => array(DOKU_CONF . 'template_lang/')
  87          )
  88      ),
  89      $config_cascade
  90  );
  91