diff options
author | Andreas Gohr <andi@splitbrain.org> | 2005-11-08 20:50:13 +0100 |
---|---|---|
committer | Andreas Gohr <andi@splitbrain.org> | 2005-11-08 20:50:13 +0100 |
commit | f949a01c56e1f2c993e6b1f04ad3d57c382b6b06 (patch) | |
tree | 6742f2aca249c2f5f8b33dced3ded8f164ccfa2d /inc/init.php | |
parent | 75bfc19c4fec0d9ec349df05c30bbd95e459a5ba (diff) | |
download | rpg-f949a01c56e1f2c993e6b1f04ad3d57c382b6b06.tar.gz rpg-f949a01c56e1f2c993e6b1f04ad3d57c382b6b06.tar.bz2 |
fixed two bugs reported by Timo Falk
darcs-hash:20051108195013-7ad00-f2b2b6d955e64fe2d2abfc1d9421ed619f70abd3.gz
Diffstat (limited to 'inc/init.php')
-rw-r--r-- | inc/init.php | 2 |
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'); } |