From 673eddac3c7262fa3c847897c62e4ab7d558176c Mon Sep 17 00:00:00 2001 From: kremsy Date: Sat, 8 Feb 2014 15:15:21 +0100 Subject: [PATCH] preparements website communication --- application/core/Server/UsageReporter.php | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/application/core/Server/UsageReporter.php b/application/core/Server/UsageReporter.php index 2008a5e2..45015b19 100644 --- a/application/core/Server/UsageReporter.php +++ b/application/core/Server/UsageReporter.php @@ -59,8 +59,10 @@ class UsageReporter implements TimerListener { $info = base64_encode($json); //TODO make on website - /*$this->maniaControl->fileReader->loadFile("url/webservice?info=" . $info, function ($response, $error){ - $this->maniaControl->log("Error while Sending data: " . $error); - });*/ + /* $this->maniaControl->fileReader->loadFile("url/webservice?info=" . $info, function ($response, $error) { + if ($error) { + $this->maniaControl->log("Error while Sending data: " . $error); + } + });*/ } } \ No newline at end of file