Closed Woutre closed 12 years ago
Hi,
I just made a small modification on plugin AddRemoveMaps to add an mxDownloadDir option. So the downloaded maps fom MX can now be stored in the directory I choose
Modified files:
libraries/ManiaLivePlugins/MLEPP/AddRemoveMaps/Config.php
[7] public $mxDownloadDir = 'Maps/Downloaded/MX/';
libraries/ManiaLivePlugins/MLEPP/AddRemoveMaps/AddRemoveMaps.php
[203] - $challengeDir = $dataDir . "Maps/Downloaded/MX/"; [203] + $challengeDir = $dataDir . $this->config->mxDownloadDir;
[216] - $eventTargetFile = "Maps/Downloaded/MX/" . $trackinfo->Name . '-' . $mxid . '.Map.Gbx'; [216] + $eventTargetFile = $this->config->mxDownloadDir . $trackinfo->Name . '-' . $mxid . '.Map.Gbx';
It seems to work quite well, could you please add this modification on future release?
Regards,
Woutre
fixed in upcoming update....
Hi,
I just made a small modification on plugin AddRemoveMaps to add an mxDownloadDir option. So the downloaded maps fom MX can now be stored in the directory I choose
Modified files:
libraries/ManiaLivePlugins/MLEPP/AddRemoveMaps/Config.php
[7] public $mxDownloadDir = 'Maps/Downloaded/MX/';
libraries/ManiaLivePlugins/MLEPP/AddRemoveMaps/AddRemoveMaps.php
[203] - $challengeDir = $dataDir . "Maps/Downloaded/MX/"; [203] + $challengeDir = $dataDir . $this->config->mxDownloadDir;
[216] - $eventTargetFile = "Maps/Downloaded/MX/" . $trackinfo->Name . '-' . $mxid . '.Map.Gbx'; [216] + $eventTargetFile = $this->config->mxDownloadDir . $trackinfo->Name . '-' . $mxid . '.Map.Gbx';
It seems to work quite well, could you please add this modification on future release?
Regards,
Woutre