diff --git a/application/core/Libs/Maniaplanet/DedicatedServer/Xmlrpc/Client.php b/application/core/Libs/Maniaplanet/DedicatedServer/Xmlrpc/Client.php index 36b75898..155b0b7e 100644 --- a/application/core/Libs/Maniaplanet/DedicatedServer/Xmlrpc/Client.php +++ b/application/core/Libs/Maniaplanet/DedicatedServer/Xmlrpc/Client.php @@ -394,7 +394,7 @@ class Client { throw new Exception('transport error - connection interrupted!', -32700); } - var_dump($contents); + $array_result = unpack('Vsize/Vhandle', $contents); $size = $array_result['size']; $recvhandle = $array_result['handle']; diff --git a/application/core/ManiaControl.php b/application/core/ManiaControl.php index 6bf09c79..e6545828 100644 --- a/application/core/ManiaControl.php +++ b/application/core/ManiaControl.php @@ -23,9 +23,9 @@ use ManiaControl\Update\UpdateManager; use Maniaplanet\DedicatedServer\Connection; use Maniaplanet\DedicatedServer\Xmlrpc\Exception; -require_once __DIR__ . '/Maniaplanet/DedicatedServer/Connection.php'; -require_once __DIR__ . '/GbxDataFetcher/gbxdatafetcher.inc.php'; -require_once __DIR__ . '/FML/autoload.php'; +require_once __DIR__ . '/Libs/Maniaplanet/DedicatedServer/Connection.php'; +require_once __DIR__ . '/Libs/GbxDataFetcher/gbxdatafetcher.inc.php'; +require_once __DIR__ . '/Libs/FML/autoload.php'; /** * ManiaControl Server Controller for ManiaPlanet Server