You are here

public static function PHPExcel_Shared_ZipStreamWrapper::register in Loft Data Grids 6.2

Same name and namespace in other branches
  1. 7.2 vendor/phpoffice/phpexcel/Classes/PHPExcel/Shared/ZipStreamWrapper.php \PHPExcel_Shared_ZipStreamWrapper::register()

Register wrapper

File

vendor/phpoffice/phpexcel/Classes/PHPExcel/Shared/ZipStreamWrapper.php, line 68

Class

PHPExcel_Shared_ZipStreamWrapper
PHPExcel_Shared_ZipStreamWrapper

Code

public static function register() {
  @stream_wrapper_unregister("zip");
  @stream_wrapper_register("zip", __CLASS__);
}