From aee3d64b09bcbbecfd8ddaab5f9b3759d325091f Mon Sep 17 00:00:00 2001 From: andi Date: Wed, 2 Mar 2005 20:33:28 +0100 Subject: using DOKU_BASE for local.php include darcs-hash:20050302193328-9977f-4221f30768ee58c60247dcd42e8d98b7b1e6a5eb.gz --- conf/dokuwiki.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'conf/dokuwiki.php') 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(); -- cgit v1.2.3