@@ -8,7 +8,7 @@ |
||
| 8 | 8 | error_reporting(E_ALL); |
| 9 | 9 | |
| 10 | 10 | |
| 11 | -require_once dirname(__FILE__) . DIRECTORY_SEPARATOR . '..' . DIRECTORY_SEPARATOR . 'vendor/autoload.php'; |
|
| 11 | +require_once dirname(__FILE__).DIRECTORY_SEPARATOR.'..'.DIRECTORY_SEPARATOR.'vendor/autoload.php'; |
|
| 12 | 12 | |
| 13 | 13 | $response = (new HttpPostNewsTicker())->doPostRequest(); |
| 14 | 14 | $newsTicker = new \ Mvg\Parser\Html\NewsTicker($response); |
@@ -12,7 +12,7 @@ discard block |
||
| 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', |
@@ -50,7 +50,7 @@ discard block |
||
| 50 | 50 | |
| 51 | 51 | //ArduinoJson Library has trouble with unicode |
| 52 | 52 | ob_start(); |
| 53 | -echo iconv("UTF-8", "CP437",trim(json_encode($outputArrays)) ); |
|
| 53 | +echo iconv("UTF-8", "CP437", trim(json_encode($outputArrays))); |
|
| 54 | 54 | $content = ob_get_contents(); |
| 55 | 55 | $length = strlen($content); |
| 56 | 56 | header('Content-Length: '.$length); |
| 57 | 57 | \ No newline at end of file |