DokuWiki

It's better when it's simple

User Tools

Site Tools


devel:preload

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
devel:preload [2009-01-22 13:23] ChrisSdevel:preload [2023-07-20 14:17] (current) Klap-in
Line 1: Line 1:
-====== preload ======+====== Preload ======
  
-[[devel:develonly]] 
- 
-FIXME - could probably be done with better prose rather than bullets :) 
  
   * ''inc/preload.php'' is not part of the default dokuwiki installation   * ''inc/preload.php'' is not part of the default dokuwiki installation
Line 14: Line 11:
 It is of particular interest to [[devel:farm|wiki farms]] allowing them control several independent wikis from a single dokuwiki installation. It is of particular interest to [[devel:farm|wiki farms]] allowing them control several independent wikis from a single dokuwiki installation.
  
-===== example uses =====+====See also==== 
 +  * [[devel:environment#doku|DOKU_*]] constants
  
-==== local config folder ==== 
  
-<code php>+===== Examples ===== 
 + 
 +==== Local Config Folder ==== 
 + 
 +<code php preload.php>
 <?php <?php
 /** /**
Line 85: Line 86:
     'default'   => array(DOKU_DEFAULT.'wordblock.conf'),     'default'   => array(DOKU_DEFAULT.'wordblock.conf'),
     'local'     => array(DOKU_CONF.'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'
   ),   ),
 ); );
 </code> </code>
  
devel/preload.1232627000.txt.gz · Last modified: 2010-01-08 13:19 (external edit)

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki