Exemple #1
0
 /**
  *  Load language-info into the DB.
  *
  *  @param  string  Any valid file(-path)
  *
  *  THIS METHOD WAS MOVED TO CAT_Helper_Addons!
  *
  */
 function load_language($file)
 {
     if (!class_exists('CAT_Helper_Addons')) {
         @(require_once dirname(__FILE__) . '/CAT/Helper/Addons.php');
     }
     $addons_helper = new CAT_Helper_Addons();
     return $addons_helper->installLanguage($file);
 }