====== Preload ====== FIXME - could probably be done with better prose rather than bullets :) * ''inc/preload.php'' is not part of the default dokuwiki installation * [[xref>inc/init.php]] attempts to include ''inc/preload.php'' before it does anything else * preload.php has the opportunity override many aspects of **standard** dokuwiki, incl. * most of the directory locations * the configuration cascade * the plugin controller It is of particular interest to [[devel:farm|wiki farms]] allowing them control several independent wikis from a single dokuwiki installation. ===== Examples ===== ==== Local Config Folder ==== array( 'default' => array(DOKU_DEFAULT.'dokuwiki.php'), 'local' => array(DOKU_CONF.'dokuwiki.php'), 'protected' => array(DOKU_CONF.'protected.php'), ), 'acronyms' => array( 'default' => array(DOKU_DEFAULT.'acronyms.conf'), 'local' => array(DOKU_CONF.'acronyms.conf'), ), 'entities' => array( 'default' => array(DOKU_DEFAULT.'entities.conf'), 'local' => array(DOKU_CONF.'entities.conf'), ), 'interwiki' => array( 'default' => array(DOKU_DEFAULT.'interwiki.conf'), 'local' => array(DOKU_CONF.'interwiki.conf'), ), 'license' => array( 'default' => array(DOKU_DEFAULT.'license.php'), 'local' => array(DOKU_CONF.'license.php'), ), 'mediameta' => array( 'default' => array(DOKU_DEFAULT.'mediameta.php'), 'local' => array(DOKU_CONF.'mediameta.php'), ), 'mime' => array( 'default' => array(DOKU_DEFAULT.'mime.conf'), 'local' => array(DOKU_CONF.'mime.conf'), ), 'scheme' => array( 'default' => array(DOKU_DEFAULT.'scheme.conf'), 'local' => array(DOKU_CONF.'scheme.conf'), ), 'smileys' => array( 'default' => array(DOKU_DEFAULT.'smileys.conf'), 'local' => array(DOKU_CONF.'smileys.conf'), ), 'wordblock' => array( 'default' => array(DOKU_DEFAULT.'wordblock.conf'), 'local' => array(DOKU_CONF.'wordblock.conf'), ), 'acl' => array( 'default' => DOKU_CONF.'acl.auth.php', ), 'plainauth.users' => array( 'default' => DOKU_CONF.'users.auth.php', ), 'plugins' => array( 'local' => array(DOKU_CONF.'plugins.local.php'), 'protected' => array( DOKU_CONF.'plugins.required.php', DOKU_CONF.'plugins.protected.php', ), ), 'userstyle' => array( 'default' => DOKU_CONF.'userstyle.css', 'print' => DOKU_CONF.'printstyle.css', 'feed' => DOKU_CONF.'feedstyle.css', 'all' => DOKU_CONF.'allstyle.css', ), 'userscript' => array( 'default' => DOKU_CONF.'userscript.js' ), );