Exemplo n.º 1
0
 /**
  *  Load template-info into the DB.
  *
  *  @param  string  Any valid directory(-path)
  *
  *  THIS METHOD WAS MOVED TO CAT_Helper_Addons!
  *
  */
 function load_template($directory)
 {
     if (!class_exists('CAT_Helper_Addons')) {
         @(require_once dirname(__FILE__) . '/CAT/Helper/Addons.php');
     }
     $addons_helper = new CAT_Helper_Addons();
     return $addons_helper->installTemplate($directory);
 }