From d1948f414213bef9fe089acd1832d0ad2323ef8d Mon Sep 17 00:00:00 2001 From: kremsy Date: Tue, 18 Feb 2014 15:54:36 +0100 Subject: [PATCH] folderstructure change --- .../core/Libs/Maniaplanet/DedicatedServer/Xmlrpc/Client.php | 2 +- application/core/ManiaControl.php | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) 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