support for an option inc/preload.php file
This patch readds the possibilities previously gained by the DOKUWIKI_INIT event by adding support for including a file named inc/preload.php. When available, it will be included before any defines for dokuwiki are set. darcs-hash:20080627222629-7ad00-a663ded7ac08369f011e1f63e1c60fa81ec05b51.gz
This commit is contained in:
parent
a81c88022e
commit
48beefec86
|
@ -10,6 +10,9 @@
|
||||||
}
|
}
|
||||||
define('DOKU_START_TIME', delta_time());
|
define('DOKU_START_TIME', delta_time());
|
||||||
|
|
||||||
|
// if available load a preload config file
|
||||||
|
@include(fullpath(dirname(__FILE__)).'/preload.php');
|
||||||
|
|
||||||
// define the include path
|
// define the include path
|
||||||
if(!defined('DOKU_INC')) define('DOKU_INC',fullpath(dirname(__FILE__).'/../').'/');
|
if(!defined('DOKU_INC')) define('DOKU_INC',fullpath(dirname(__FILE__).'/../').'/');
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue