From: Tim Düsterhus Date: Wed, 19 Aug 2020 13:18:30 +0000 (+0200) Subject: Force a proper URL for *.woltlab.com package update servers X-Git-Tag: 5.3.0_Alpha_1~22^2~9 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=1936b0d0e462a59f9373af02204879f809b3bb43;p=GitHub%2FWoltLab%2FWCF.git Force a proper URL for *.woltlab.com package update servers --- diff --git a/wcfsetup/install/files/lib/data/package/update/server/PackageUpdateServer.class.php b/wcfsetup/install/files/lib/data/package/update/server/PackageUpdateServer.class.php index 45b06e43f9..251e909882 100644 --- a/wcfsetup/install/files/lib/data/package/update/server/PackageUpdateServer.class.php +++ b/wcfsetup/install/files/lib/data/package/update/server/PackageUpdateServer.class.php @@ -52,6 +52,13 @@ class PackageUpdateServer extends DatabaseObject { } parent::handleData($data); + + if ($this->isWoltLabUpdateServer()) { + $this->data['serverURL'] = 'http://update.woltlab.com/5.3/'; + } + if ($this->isWoltLabStoreServer()) { + $this->data['serverURL'] = 'http://store.woltlab.com/5.3/'; + } } /**