From b75fe4b8d2ca94d382ecee3bac04e66f2dd8633f Mon Sep 17 00:00:00 2001 From: objecttothis Date: Fri, 5 Jul 2013 20:13:09 +0000 Subject: [PATCH] Not sure if this was removed after download or not. Should it be merged? git-svn-id: svn+ssh://jekkos@svn.code.sf.net/p/opensourcepos/code/@67 c3eb156b-1dc0-44e1-88ae-e38439141b53 --- application/libraries/MY_Language.php | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 application/libraries/MY_Language.php diff --git a/application/libraries/MY_Language.php b/application/libraries/MY_Language.php new file mode 100644 index 000000000..a9b69505b --- /dev/null +++ b/application/libraries/MY_Language.php @@ -0,0 +1,26 @@ +config->set_item( 'language', $idiom ); + $loaded = $this->is_loaded; + $this->is_loaded = array(); + + foreach($loaded as $file) + { + $this->load( str_replace( '_lang.php', '', $file ) ); + } + } + } +} + +?>