diff options
-rw-r--r-- | conf/dokuwiki.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/conf/dokuwiki.php b/conf/dokuwiki.php index 37566eab6..87dacf2a5 100644 --- a/conf/dokuwiki.php +++ b/conf/dokuwiki.php @@ -73,7 +73,8 @@ $conf['target']['media'] = ''; $conf['target']['windows'] = ''; //this includes a local config file if exist which make upgrading more easy - just don't touch this -@include("conf/local.php"); +if(!defined('DOKU_INC')) define('DOKU_INC',realpath(dirname(__FILE__).'/../').'/'); +@include(DOKU_INC.'conf/local.php'); //a small bugfix for some browsers/proxies just don't touch this either $lang = array(); |