summaryrefslogtreecommitdiff
path: root/inc/init.php
diff options
context:
space:
mode:
authorChristopher Smith <chris@jalakai.co.uk>2013-10-19 18:24:57 +0100
committerChristopher Smith <chris@jalakai.co.uk>2013-10-19 18:24:57 +0100
commit4b94edc8e8badb6bcdc25b41f73310a8e323ba92 (patch)
tree135f4f9e4e4b37a18aad5ac23b618a023e4447bf /inc/init.php
parent698e7df8c9d5c43a93ed6822efa537158682a700 (diff)
parent9f5b9cf15569babaa90f0d6f3dd58cefd5439bc5 (diff)
downloadrpg-4b94edc8e8badb6bcdc25b41f73310a8e323ba92.tar.gz
rpg-4b94edc8e8badb6bcdc25b41f73310a8e323ba92.tar.bz2
Merge branch 'master' into FS#2867
Diffstat (limited to 'inc/init.php')
-rw-r--r--inc/init.php4
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");
}
}
}