From 563a146492686f2b32c52c3a4f1002d5d684d260 Mon Sep 17 00:00:00 2001 From: kremsy Date: Sat, 13 May 2017 19:32:08 +0200 Subject: [PATCH] urgent fix #2 --- core/ManiaControl.php | 2 +- libs/Maniaplanet/DedicatedServer/Xmlrpc/FaultException.php | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/core/ManiaControl.php b/core/ManiaControl.php index cad9442f..daadd8a4 100644 --- a/core/ManiaControl.php +++ b/core/ManiaControl.php @@ -52,7 +52,7 @@ class ManiaControl implements CallbackListener, CommandListener, TimerListener, /* * Constants */ - const VERSION = '0.213'; + const VERSION = '0.214'; const API_VERSION = '2013-04-16'; const MIN_DEDIVERSION = '2017-05-03_21_00'; const SCRIPT_TIMEOUT = 40; diff --git a/libs/Maniaplanet/DedicatedServer/Xmlrpc/FaultException.php b/libs/Maniaplanet/DedicatedServer/Xmlrpc/FaultException.php index 922823c2..7a07b68b 100755 --- a/libs/Maniaplanet/DedicatedServer/Xmlrpc/FaultException.php +++ b/libs/Maniaplanet/DedicatedServer/Xmlrpc/FaultException.php @@ -92,6 +92,7 @@ class FaultException extends Exception { case 'The playlist file does not exist.': case 'Invalid url or file.': case 'Invalid url.': + case 'No map to export in playlist.': return new FileException($faultString, $faultCode); } if (preg_match('~^Unknown setting \'.*\'\.$~iu', $faultString)) {