summaryrefslogtreecommitdiffstats
path: root/system/libraries/Language.php
diff options
context:
space:
mode:
authoradmin <devnull@localhost>2006-10-29 21:24:11 +0100
committeradmin <devnull@localhost>2006-10-29 21:24:11 +0100
commitf3a6204bb0f4538d6a77d9c85c56545be73ecd64 (patch)
tree5f355ad88be33a1f5d35e542984d17b6b6bfb18c /system/libraries/Language.php
parent23b8f61fe500a179e6f71b07c32752b80eac2e1a (diff)
Diffstat (limited to 'system/libraries/Language.php')
-rw-r--r--system/libraries/Language.php5
1 files changed, 2 insertions, 3 deletions
diff --git a/system/libraries/Language.php b/system/libraries/Language.php
index 37a5c7e99..faf516ea5 100644
--- a/system/libraries/Language.php
+++ b/system/libraries/Language.php
@@ -66,16 +66,15 @@ class CI_Language {
}
// Determine where the language file is and load it
-
if (file_exists(APPPATH.'language/'.$idiom.'/'.$langfile))
{
- include_once(APPPATH.'language/'.$idiom.'/'.$langfile);
+ include(APPPATH.'language/'.$idiom.'/'.$langfile);
}
else
{
if (file_exists(BASEPATH.'language/'.$idiom.'/'.$langfile))
{
- include_once(BASEPATH.'language/'.$idiom.'/'.$langfile);
+ include(BASEPATH.'language/'.$idiom.'/'.$langfile);
}
else
{