From 0a6ead412a67d6ce56895e3c5e8dd6612acac398 Mon Sep 17 00:00:00 2001 From: Andreas Gohr <andi@splitbrain.org> Date: Wed, 7 Dec 2005 20:44:00 +0100 Subject: [PATCH] remove error supression for local.php (related to #659) darcs-hash:20051207194400-7ad00-2b0cb5baec92b9cdf40ad7e3e429de0b34aa9f2a.gz --- inc/init.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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; -- GitLab