summaryrefslogtreecommitdiff
path: root/inc/init.php
diff options
context:
space:
mode:
Diffstat (limited to 'inc/init.php')
-rw-r--r--inc/init.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/inc/init.php b/inc/init.php
index fb02ab15d..247b16da9 100644
--- a/inc/init.php
+++ b/inc/init.php
@@ -26,7 +26,7 @@
//load the language files
require_once(DOKU_INC.'inc/lang/en/lang.php');
- if ( defined($conf['lang']) ) {
+ if ( $conf['lang'] && $conf['lang'] != 'en' ) {
require_once(DOKU_INC.'inc/lang/'.$conf['lang'].'/lang.php');
}