diff options
Diffstat (limited to 'inc/init.php')
-rw-r--r-- | inc/init.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/inc/init.php b/inc/init.php index f9e095533..fb02ab15d 100644 --- a/inc/init.php +++ b/inc/init.php @@ -26,7 +26,9 @@ //load the language files require_once(DOKU_INC.'inc/lang/en/lang.php'); - require_once(DOKU_INC.'inc/lang/'.$conf['lang'].'/lang.php'); + if ( defined($conf['lang']) ) { + require_once(DOKU_INC.'inc/lang/'.$conf['lang'].'/lang.php'); + } // define baseURL if(!defined('DOKU_BASE')) define('DOKU_BASE',getBaseURL()); |