Ejemplo n.º 1
0
 /**
  * Clear cache for Smarty
  * 
  * @param objet $smarty
  */
 public static function clearCache($smarty)
 {
     if (!Configuration::get('PS_FORCE_SMARTY_2')) {
         $smarty->clearAllCache();
     } else {
         $smarty->clear_all_cache();
     }
 }
Ejemplo n.º 2
0
 /**
  * Clear cache for Smarty
  *
  * @param objet $smarty
  */
 public static function clearCache($smarty)
 {
     if (!_PS_FORCE_SMARTY_2_) {
         $smarty->clearAllCache();
     } else {
         $smarty->clear_all_cache();
     }
 }