include preload.php without error suppression (but after existence check)
darcs-hash:20090122080426-f07c6-c2e4cb107f9d07f333a9fe295f5df5bd9d3fb15f.gz
This commit is contained in:
parent
062075650f
commit
e6266454ce
|
@ -11,7 +11,8 @@
|
|||
define('DOKU_START_TIME', delta_time());
|
||||
|
||||
// if available load a preload config file
|
||||
@include(fullpath(dirname(__FILE__)).'/preload.php');
|
||||
$preload = fullpath(dirname(__FILE__)).'/preload.php';
|
||||
if (@file_exists($preload)) include($preload);
|
||||
|
||||
// define the include path
|
||||
if(!defined('DOKU_INC')) define('DOKU_INC',fullpath(dirname(__FILE__).'/../').'/');
|
||||
|
|
Loading…
Reference in New Issue