From 8f07376b93b1e691f9d2d283a73c6b67958d36df Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Steffen=20Schro=CC=88der?= Date: Thu, 29 May 2014 16:56:53 +0200 Subject: [PATCH] new plugin web service url --- application/core/Update/PluginUpdateManager.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/application/core/Update/PluginUpdateManager.php b/application/core/Update/PluginUpdateManager.php index bc1717df..57ea7f4b 100644 --- a/application/core/Update/PluginUpdateManager.php +++ b/application/core/Update/PluginUpdateManager.php @@ -351,7 +351,7 @@ class PluginUpdateManager implements CallbackListener, CommandListener, TimerLis } else { $pluginId = substr($actionId, strlen(PluginInstallMenu::ACTION_PREFIX_INSTALL_PLUGIN)); - $url = ManiaControl::URL_WEBSERVICE . 'plugins?id=' . $pluginId; + $url = ManiaControl::URL_WEBSERVICE . 'plugins/' . $pluginId; $self = $this; $this->maniaControl->fileReader->loadFile($url, function ($data, $error) use (&$self, &$player) { if ($error || !$data) { @@ -383,7 +383,7 @@ class PluginUpdateManager implements CallbackListener, CommandListener, TimerLis * @var Plugin $pluginClass */ $pluginId = $pluginClass::getId(); - $url = ManiaControl::URL_WEBSERVICE . 'plugins?id=' . $pluginId; + $url = ManiaControl::URL_WEBSERVICE . 'plugins/' . $pluginId; $dataJson = FileUtil::loadFile($url); $pluginVersions = json_decode($dataJson); if (!$pluginVersions || !isset($pluginVersions[0])) {