Improved Domain settings handling and store as JSON instead of ini

This commit is contained in:
the-djmaze 2022-10-31 11:17:25 +01:00
parent 9430c987e1
commit 2c54b0caf0
8 changed files with 143 additions and 207 deletions

View file

@ -182,8 +182,7 @@ trait User
if (!$bError) {
$mResult = array(
'FileHash' => Utils::EncodeKeyValuesQ(array(
'V' => APP_VERSION,
'Account' => $oAccount ? \md5($oAccount->Hash()) : '',
'Account' => $oAccount ? $oAccount->Hash() : '',
'FileName' => 'attachments.zip',
'MimeType' => 'application/zip',
'FileHash' => $sZipHash