Skip to content
Snippets Groups Projects
Commit e6266454 authored by Chris Smith's avatar Chris Smith
Browse files

include preload.php without error suppression (but after existence check)

darcs-hash:20090122080426-f07c6-c2e4cb107f9d07f333a9fe295f5df5bd9d3fb15f.gz
parent 06207565
No related branches found
No related tags found
No related merge requests found
......@@ -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__).'/../').'/');
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment