|
@@ -12,7 +12,7 @@ discard block |
|
|
block discarded – undo |
|
12
|
12
|
use Mvg\RequestHandler\Html\HttpGetDepartures; |
|
13
|
13
|
use Mvg\LedMatrixOutput\Departures as LedMatrixOutPutDepartues; |
|
14
|
14
|
|
|
15
|
|
-require_once dirname(__FILE__) . DIRECTORY_SEPARATOR . '..' . DIRECTORY_SEPARATOR . 'vendor/autoload.php'; |
|
|
15
|
+require_once dirname(__FILE__).DIRECTORY_SEPARATOR.'..'.DIRECTORY_SEPARATOR.'vendor/autoload.php'; |
|
16
|
16
|
|
|
17
|
17
|
$searchForStations = array( |
|
18
|
18
|
'Bonner Platz', |
|
@@ -48,7 +48,7 @@ discard block |
|
|
block discarded – undo |
|
48
|
48
|
|
|
49
|
49
|
//ArduinoJson Library has trouble with unicode |
|
50
|
50
|
ob_start(); |
|
51
|
|
-echo iconv("UTF-8", "CP437",trim(json_encode($outputArrays)) ); |
|
|
51
|
+echo iconv("UTF-8", "CP437", trim(json_encode($outputArrays))); |
|
52
|
52
|
$content = ob_get_contents(); |
|
53
|
53
|
$length = strlen($content); |
|
54
|
54
|
header('Content-Length: '.$length); |
Please login to merge, or discard this patch.