summaryrefslogtreecommitdiff
path: root/conf/dokuwiki.php
diff options
context:
space:
mode:
authorandi <andi@splitbrain.org>2005-03-02 20:33:28 +0100
committerandi <andi@splitbrain.org>2005-03-02 20:33:28 +0100
commitaee3d64b09bcbbecfd8ddaab5f9b3759d325091f (patch)
tree6daa2bdebe07e0555d67ac0bb96bb07ff0b68131 /conf/dokuwiki.php
parent3f7493134d18f5062632df932fe05c4b19853830 (diff)
downloadrpg-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.php3
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();