fixed update url
This commit is contained in:
parent
7b5137d050
commit
f9a3c0f72e
@ -405,7 +405,7 @@ class UpdateManager implements CallbackListener, CommandListener, TimerListener
|
|||||||
}
|
}
|
||||||
|
|
||||||
$self = $this;
|
$self = $this;
|
||||||
$this->maniaControl->fileReader->loadFile($updateData->url, function ($updateFileContent, $error) use(&$self, &$updateData, &$player) {
|
$this->maniaControl->fileReader->loadFile($this->coreUpdateData->url, function ($updateFileContent, $error) use(&$self, &$updateData, &$player) {
|
||||||
$tempDir = FileUtil::getTempFolder();
|
$tempDir = FileUtil::getTempFolder();
|
||||||
$updateFileName = $tempDir . basename($updateData->url);
|
$updateFileName = $tempDir . basename($updateData->url);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user