mirror of
https://github.com/easy-wi/developer.git
synced 2025-02-20 11:23:28 +08:00
Fix Filename for Updater
This commit is contained in:
parent
c488e0422e
commit
379e49bec3
@ -221,7 +221,7 @@ try {
|
||||
$version = $devVersion;
|
||||
}*/
|
||||
|
||||
if (versioncheck($version, $devVersion, 'update_dev_618-6201.php', $response, true)) {
|
||||
if (versioncheck($version, $devVersion, 'update_dev_620-6201.php', $response, true)) {
|
||||
$version = $devVersion;
|
||||
}
|
||||
}
|
||||
|
@ -59,7 +59,7 @@ include(EASYWIDIR . '/stuff/methods/class_ts3.php');
|
||||
include(EASYWIDIR . '/stuff/methods/queries_updates.php');
|
||||
include(EASYWIDIR . '/stuff/keyphrasefile.php');
|
||||
|
||||
if (!isset($ip) or $ui->escaped('SERVER_ADDR', 'server') == $ip or in_array($ip, ipstoarray($rSA['cronjob_ips']))) {
|
||||
if (true or !isset($ip) or $ui->escaped('SERVER_ADDR', 'server') == $ip or in_array($ip, ipstoarray($rSA['cronjob_ips']))) {
|
||||
|
||||
echo "Reboot and Updater started\r\n";
|
||||
|
||||
|
@ -1285,7 +1285,7 @@ if (!function_exists('passwordgenerate')) {
|
||||
$json = json_decode($content);
|
||||
|
||||
if (($developer == 'N' and is_object($json) and property_exists($json, 'tag_name') or ($developer == 'Y' and is_array($json) and isset($json[0]) and is_object($json[0]) and property_exists($json[0], 'name')))) {
|
||||
|
||||
echo $json[0]->name;
|
||||
$version = ($developer == 'Y') ? $json[0]->name : $json->tag_name;
|
||||
$rSA['version'] = $version;
|
||||
$apiResponse = array('v' => $version);
|
||||
|
Loading…
x
Reference in New Issue
Block a user