64bit Anpassungen

Name der Distro angepasst
Max Value in Statistiken angepasst
Hash Verfahren auf SHA256 umgestellt
This commit is contained in:
Gregor Schulte
2022-02-09 09:40:58 +01:00
parent 79fc07e010
commit 1e60371abe
6 changed files with 475 additions and 556 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -84,7 +84,7 @@ $statisticConfig = array(
'fix' => true
),
'max' => array(
'value' => 1200,
'value' => 2100,
'use' => 'fix',
'fix' => true
)

View File

@@ -268,7 +268,7 @@ class UpdateController
return $curl->getStatusCode();
}
if (md5_file(UPDATE_PATH.'update.zip') !== $version->getChecksum())
if (hash_file('sha256', UPDATE_PATH.'update.zip') !== $version->getChecksum())
{
unlink(UPDATE_PATH.'update.zip');
return 1;