summaryrefslogtreecommitdiff
path: root/inc/init.php
diff options
context:
space:
mode:
authorandi <andi@splitbrain.org>2005-03-04 19:41:27 +0100
committerandi <andi@splitbrain.org>2005-03-04 19:41:27 +0100
commitad15db82c169247243e799f8c16eaef89e6138d1 (patch)
treea6f841d5caff2f99891e82427b25414fc0b70293 /inc/init.php
parent3dc3a5f166aa2c4e345b27f6811db5889261c3d4 (diff)
downloadrpg-ad15db82c169247243e799f8c16eaef89e6138d1.tar.gz
rpg-ad15db82c169247243e799f8c16eaef89e6138d1.tar.bz2
load local.php from init.php
darcs-hash:20050304184127-9977f-9fbde6f7973ddc0a516f26fc18ee0ff1f19686e3.gz
Diffstat (limited to 'inc/init.php')
-rw-r--r--inc/init.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/inc/init.php b/inc/init.php
index 334d77b00..46046ab29 100644
--- a/inc/init.php
+++ b/inc/init.php
@@ -5,7 +5,13 @@
// define the include path
if(!defined('DOKU_INC')) define('DOKU_INC',realpath(dirname(__FILE__).'/../').'/');
+
+ // load the config file(s)
require_once(DOKU_INC.'conf/dokuwiki.php');
+ @include_once(DOKU_INC.'conf/local.php');
+
+ //prepare language array
+ $lang = array();
// define baseURL
if(!defined('DOKU_BASE')) define('DOKU_BASE',getBaseURL());