mx https update
This commit is contained in:
@ -93,23 +93,23 @@ class MXMapInfo {
|
||||
$this->lbrating = $this->trkvalue;
|
||||
}
|
||||
|
||||
$this->pageurl = 'http://' . $this->prefix . '.mania-exchange.com/' . $this->dir . '/view/' . $this->id;
|
||||
$this->downloadurl = 'http://' . $this->prefix . '.mania-exchange.com/' . $this->dir . '/download/' . $this->id;
|
||||
$this->pageurl = 'https://' . $this->prefix . '.mania-exchange.com/' . $this->dir . '/view/' . $this->id;
|
||||
$this->downloadurl = 'https://' . $this->prefix . '.mania-exchange.com/' . $this->dir . '/download/' . $this->id;
|
||||
|
||||
if ($mx->HasScreenshot) {
|
||||
$this->imageurl = 'http://' . $this->prefix . '.mania-exchange.com/' . $this->dir . '/screenshot/normal/' . $this->id;
|
||||
$this->imageurl = 'https://' . $this->prefix . '.mania-exchange.com/' . $this->dir . '/screenshot/normal/' . $this->id;
|
||||
} else {
|
||||
$this->imageurl = '';
|
||||
}
|
||||
|
||||
if ($mx->HasThumbnail) {
|
||||
$this->thumburl = 'http://' . $this->prefix . '.mania-exchange.com/' . $this->dir . '/thumbnail/' . $this->id;
|
||||
$this->thumburl = 'https://' . $this->prefix . '.mania-exchange.com/' . $this->dir . '/thumbnail/' . $this->id;
|
||||
} else {
|
||||
$this->thumburl = '';
|
||||
}
|
||||
|
||||
if ($this->prefix === 'tm' && $this->replayid > 0) {
|
||||
$this->replayurl = 'http://' . $this->prefix . '.mania-exchange.com/replays/download/' . $this->replayid;
|
||||
$this->replayurl = 'https://' . $this->prefix . '.mania-exchange.com/replays/download/' . $this->replayid;
|
||||
} else {
|
||||
$this->replayurl = '';
|
||||
}
|
||||
|
Reference in New Issue
Block a user