Ejemplo n.º 1
0
 public static function clear_cache($path)
 {
     if (!is_array($path)) {
         $path = array($path);
     }
     foreach ($path as $p) {
         $type = self::$cache_providers[Shutter::cache_type($p)];
         if ($type) {
             call_user_func(array($type, 'clear'), $p);
         }
     }
 }