修复Linuxx下的已知错误

This commit is contained in:
瓜哥 committed 2021-06-29 13:11:22 +08:00
1 parent d032473687
commit 83e0f4b1dc
1989 files changed
+97764 -101127

No files matched your search

@@ -0,0 +1,12 @@
<?php
require __DIR__ . '/../Header.php';
$spreadsheet = require __DIR__ . '/../templates/sampleSpreadsheet.php';
// Set password against the spreadsheet file
$spreadsheet->getSecurity()->setLockWindows(true);
$spreadsheet->getSecurity()->setLockStructure(true);
$spreadsheet->getSecurity()->setWorkbookPassword('secret');
// Save
$helper->write($spreadsheet, __FILE__);