diff options
author | Christopher Smith <chris@jalakai.co.uk> | 2013-10-16 18:00:46 +0100 |
---|---|---|
committer | Christopher Smith <chris@jalakai.co.uk> | 2013-10-16 18:00:46 +0100 |
commit | 1d82c8d343dd1d6c413eb117d8658b78c367df91 (patch) | |
tree | 748a236fcf64eee18d98f5edf0c50cb766fa1976 | |
parent | a467e020fa551217347181ffd6915c7d29e6ff59 (diff) | |
download | rpg-1d82c8d343dd1d6c413eb117d8658b78c367df91.tar.gz rpg-1d82c8d343dd1d6c413eb117d8658b78c367df91.tar.bz2 |
Ensure language strings are reloaded for each unit test
-rw-r--r-- | inc/init.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/inc/init.php b/inc/init.php index 30eb1b251..248d27b9c 100644 --- a/inc/init.php +++ b/inc/init.php @@ -267,10 +267,10 @@ function init_lang($langCode) { $lang = array(); //load the language files - require_once(DOKU_INC.'inc/lang/en/lang.php'); + require(DOKU_INC.'inc/lang/en/lang.php'); if ($langCode && $langCode != 'en') { if (file_exists(DOKU_INC."inc/lang/$langCode/lang.php")) { - require_once(DOKU_INC."inc/lang/$langCode/lang.php"); + require(DOKU_INC."inc/lang/$langCode/lang.php"); } } } |