diff options
author | andi <andi@splitbrain.org> | 2005-03-02 20:33:28 +0100 |
---|---|---|
committer | andi <andi@splitbrain.org> | 2005-03-02 20:33:28 +0100 |
commit | aee3d64b09bcbbecfd8ddaab5f9b3759d325091f (patch) | |
tree | 6daa2bdebe07e0555d67ac0bb96bb07ff0b68131 /conf/dokuwiki.php | |
parent | 3f7493134d18f5062632df932fe05c4b19853830 (diff) | |
download | rpg-aee3d64b09bcbbecfd8ddaab5f9b3759d325091f.tar.gz rpg-aee3d64b09bcbbecfd8ddaab5f9b3759d325091f.tar.bz2 |
using DOKU_BASE for local.php include
darcs-hash:20050302193328-9977f-4221f30768ee58c60247dcd42e8d98b7b1e6a5eb.gz
Diffstat (limited to 'conf/dokuwiki.php')
-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(); |