summaryrefslogtreecommitdiffstats
path: root/system/core/Lang.php
diff options
context:
space:
mode:
authorAndrey Andreev <narf@bofh.bg>2012-05-24 13:57:33 +0200
committerAndrey Andreev <narf@bofh.bg>2012-05-24 13:57:33 +0200
commitf49c407d587d35fc12ad27c045fbcb51f89f59f8 (patch)
tree670ba3dc28a5de376f6b5321d9f45bc37329953e /system/core/Lang.php
parent13a9bf472f548463682d4d3fafce146b9a9ced3c (diff)
Fix issue #1388
Diffstat (limited to 'system/core/Lang.php')
-rwxr-xr-xsystem/core/Lang.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/system/core/Lang.php b/system/core/Lang.php
index 5cb0cad71..73c9127ac 100755
--- a/system/core/Lang.php
+++ b/system/core/Lang.php
@@ -65,14 +65,14 @@ class CI_Lang {
/**
* Load a language file
*
- * @param mixed the name of the language file to be loaded. Can be an array
+ * @param mixed the name of the language file to be loaded
* @param string the language (english, etc.)
* @param bool return loaded array of translations
* @param bool add suffix to $langfile
* @param string alternative path to look for language file
* @return mixed
*/
- public function load($langfile = '', $idiom = '', $return = FALSE, $add_suffix = TRUE, $alt_path = '')
+ public function load($langfile, $idiom = '', $return = FALSE, $add_suffix = TRUE, $alt_path = '')
{
$langfile = str_replace('.php', '', $langfile);