Example #1
0
 function __construct($template_path, $cache_dir = '')
 {
     if (!$cache_dir && defined('LIMB_VAR_DIR')) {
         $cache_dir = LIMB_VAR_DIR . '/compiled/';
     }
     $config = new lmbWactTemplateConfig($cache_dir);
     $locator = lmbToolkit::instance()->getWactLocator();
     parent::__construct($template_path, $config, $locator);
 }