mirror of
https://github.com/BookStackApp/BookStack.git
synced 2025-04-30 22:50:05 +00:00
ZIP Exports: Changed the instance id mechanism
Adds an instance id via app settings.
This commit is contained in:
parent
edb684c72c
commit
bdca9fc1ce
4 changed files with 38 additions and 8 deletions
app/Exports/ZipExports
|
@ -69,8 +69,8 @@ class ZipExportBuilder
|
|||
|
||||
$this->data['exported_at'] = date(DATE_ATOM);
|
||||
$this->data['instance'] = [
|
||||
'version' => trim(file_get_contents(base_path('version'))),
|
||||
'id_ciphertext' => encrypt('bookstack'),
|
||||
'id' => setting('instance-id', ''),
|
||||
'version' => trim(file_get_contents(base_path('version'))),
|
||||
];
|
||||
|
||||
$zipFile = tempnam(sys_get_temp_dir(), 'bszip-');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue