64bit Anpassungen
Name der Distro angepasst Max Value in Statistiken angepasst Hash Verfahren auf SHA256 umgestellt
This commit is contained in:
@@ -10,13 +10,13 @@ if (!isset($config))
|
||||
'ssh_ip' => '127.0.0.1'
|
||||
),
|
||||
'version' => array(
|
||||
'version' => '2.3.0',
|
||||
'versioncode' => 31,
|
||||
'version' => '2.3.1beta1',
|
||||
'versioncode' => 32,
|
||||
'android_comp_level' => 25
|
||||
),
|
||||
'url' => array(
|
||||
'update' => 'https://pic.die-schultes.eu/service/v1/update/',
|
||||
'updateDownload' => 'https://www.die-schultes.eu/wp-content/uploads/',
|
||||
'updateDownload' => 'https://bugs.die-schultes.eu/attachments/',
|
||||
'updateNotification' => 'https://pi-control.de/?service=update_notification',
|
||||
'plugin' => 'https://pi-control.de/service/v1/plugin/',
|
||||
'pluginDownload' => 'https://pi-control.de/?service=plugin',
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -84,7 +84,7 @@ $statisticConfig = array(
|
||||
'fix' => true
|
||||
),
|
||||
'max' => array(
|
||||
'value' => 1200,
|
||||
'value' => 2100,
|
||||
'use' => 'fix',
|
||||
'fix' => true
|
||||
)
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user