title: CodeIgniter: get_instance inside My_Lang
body: <p>I found this useful Internationalization code:</p>
  
  <p><a href="http://pastebin.com/SyKmPYTX" rel="nofollow">http://pastebin.com/SyKmPYTX</a></p>
  
  <p>everything works well except I am unable to use CI functions inside this class .</p>
  
  <p>I want to set $languages and $special variable from DB .</p>
  
  <p>but when I am using $CI =&amp; get_instance(); in instance function its showing following error :</p>
  
  <p>Fatal error: Class 'CI_Controller' not found in /system/core/CodeIgniter.php on line 231 </p>