summaryrefslogtreecommitdiff
path: root/inc/init.php
diff options
context:
space:
mode:
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());