Ejemplo n.º 1
0
 /**
  * Triggers the shutdown by closing the output buffer
  *
  * @static
  * @return  void
  */
 public static function shutdown()
 {
     // This will flush the buffer
     if (ob_get_level()) {
         while (@ob_end_flush()) {
         }
     }
     // close caching
     if (self::$caching && !defined('NOCACHE')) {
         X4Cache_core::End(self::$output);
     }
 }