summaryrefslogtreecommitdiff
path: root/inc/init.php
diff options
context:
space:
mode:
Diffstat (limited to 'inc/init.php')
-rw-r--r--inc/init.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/inc/init.php b/inc/init.php
index af1d1eb9c..363518b65 100644
--- a/inc/init.php
+++ b/inc/init.php
@@ -21,6 +21,10 @@
global $lang;
$lang = array();
+ //load the language files
+ require_once(DOKU_INC.'lang/en/lang.php');
+ require_once(DOKU_INC.'lang/'.$conf['lang'].'/lang.php');
+
// define baseURL
if(!defined('DOKU_BASE')) define('DOKU_BASE',getBaseURL());
if(!defined('DOKU_URL')) define('DOKU_URL',getBaseURL(true));