summaryrefslogtreecommitdiffstats
path: root/system/libraries/Loader.php
diff options
context:
space:
mode:
authorDerek Allard <derek.allard@ellislab.com>2007-07-16 01:03:05 +0200
committerDerek Allard <derek.allard@ellislab.com>2007-07-16 01:03:05 +0200
commit873c722774f8cc43c737b5ee0befd8e6a0796bc8 (patch)
tree63d05bd028196fe4088ebf1c221a4fc39e30c095 /system/libraries/Loader.php
parent79ecefd0ec2cc7e2bcf35fad4f80e22d9ac70e16 (diff)
further scaffolding language fixes
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);
+ }
// --------------------------------------------------------------------