mx fix
This commit is contained in:
parent
ef6d621374
commit
93b2230653
@ -613,9 +613,8 @@ class MapManager implements CallbackListener {
|
||||
|
||||
// TODO hardcoded during closed beta, later take just $mapInfo->url again
|
||||
$url = 'http://' . $mapInfo->prefix . '.mania-exchange.com/' . $mapInfo->dir . '/download/' . $mapInfo->id;
|
||||
if ($self->maniaControl->settingManager->getSetting($self->mxManager, ManiaExchangeManager::SETTING_MP3_BETA_TESTING)) {
|
||||
$url .= '?key=t42kEMjzH7xpAjBFHAvEkC7rqAlw';
|
||||
}
|
||||
|
||||
|
||||
// Download the file
|
||||
$self->maniaControl->fileReader->loadFile($url, function ($file, $error) use (&$self, &$login, &$mapInfo, &$update) {
|
||||
|
Loading…
Reference in New Issue
Block a user