diff options
author | Andreas Gohr <andi@splitbrain.org> | 2005-12-07 20:44:00 +0100 |
---|---|---|
committer | Andreas Gohr <andi@splitbrain.org> | 2005-12-07 20:44:00 +0100 |
commit | 0a6ead412a67d6ce56895e3c5e8dd6612acac398 (patch) | |
tree | f4c0d9fdffc2c779789708f945cb3b1ea4940b26 | |
parent | 0fac700b21ba6ba43533dfecbce97fd6c38a5e6e (diff) | |
download | rpg-0a6ead412a67d6ce56895e3c5e8dd6612acac398.tar.gz rpg-0a6ead412a67d6ce56895e3c5e8dd6612acac398.tar.bz2 |
remove error supression for local.php (related to #659)
darcs-hash:20051207194400-7ad00-2b0cb5baec92b9cdf40ad7e3e429de0b34aa9f2a.gz
-rw-r--r-- | inc/init.php | 4 |
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; |