summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--inc/init.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/inc/init.php b/inc/init.php
index 247b16da9..ac1349473 100644
--- a/inc/init.php
+++ b/inc/init.php
@@ -18,7 +18,9 @@
// load the config file(s)
require_once(DOKU_CONF.'dokuwiki.php');
- @include_once(DOKU_CONF.'local.php');
+ if(@file_exists(DOKU_CONF.'local.php')){
+ require_once(DOKU_CONF.'local.php');
+ }
//prepare language array
global $lang;