summaryrefslogtreecommitdiffstats
path: root/system/libraries/Loader.php
diff options
context:
space:
mode:
Diffstat (limited to 'system/libraries/Loader.php')
-rw-r--r--system/libraries/Loader.php13
1 files changed, 13 insertions, 0 deletions
diff --git a/system/libraries/Loader.php b/system/libraries/Loader.php
index 7fa46c3ad..ee99696a0 100644
--- a/system/libraries/Loader.php
+++ b/system/libraries/Loader.php
@@ -500,6 +500,19 @@ class CI_Loader {
$CI->lang->load($langfile, $lang);
}
}
+
+ /**
+ * Loads a language file
+ *
+ * @access public
+ * @param string
+ * @return void
+ */
+ function scaffold_language($file = '', $lang = '', $return = FALSE)
+ {
+ $CI =& get_instance();
+ return $CI->lang->load($file, $lang, $return);
+ }
// --------------------------------------------------------------------