added input-file option for automatic cli-installation
Signed-off-by: Michael Kaufmann <d00p@froxlor.org>
This commit is contained in:
@@ -70,7 +70,8 @@ class AutoUpdate
|
||||
}
|
||||
$latestversion = HttpClient::urlGet(self::UPDATE_URI . Froxlor::VERSION . $channel, true, 3);
|
||||
} catch (Exception $e) {
|
||||
throw new Exception("Version-check currently unavailable, please try again later", 504);
|
||||
self::$lasterror = "Version-check currently unavailable, please try again later";
|
||||
return -1;
|
||||
}
|
||||
|
||||
self::$latestversion = json_decode($latestversion, true);
|
||||
|
||||
@@ -71,6 +71,8 @@ class Install
|
||||
asort($this->supportedOS);
|
||||
|
||||
// guess distribution and webserver to preselect in formfield
|
||||
$webserverBackend = $this->webserverBackend;
|
||||
$supportedOS = $this->supportedOS;
|
||||
$guessedDistribution = $this->guessDistribution();
|
||||
$guessedWebserver = $this->guessWebserver();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user