From b6272077e75e77d7828ff5752e7ea7c9ec4942e8 Mon Sep 17 00:00:00 2001 From: Jacek Kowalski <Jacek@jacekk.info> Date: Fri, 21 Jun 2019 11:45:13 +0000 Subject: [PATCH] Move configuration of data sources to a separate file (config.php) --- lib/vehicle_types.php | 9 ++++++--- 1 files changed, 6 insertions(+), 3 deletions(-) diff --git a/lib/vehicle_types.php b/lib/vehicle_types.php index 44b6b33..36ec6fb 100644 --- a/lib/vehicle_types.php +++ b/lib/vehicle_types.php @@ -11,7 +11,11 @@ ]; } } - return []; + return [ + 'num' => '??'.$id, + 'type' => '?', + 'low' => NULL, + ]; } function numToTypeT($id) { $data = <<<'END' @@ -41,8 +45,7 @@ 314 322 RF GT8S 0 323 323 RF GT8N 1 324 324 RF GT8S 0 -325 328 RF GT8N 1 -329 329 RF GT8SU 1 +325 329 RF GT8N 1 401 440 HL EU8N 1 451 456 HK N8C-NF 0 457 461 HK N8S-NF 1 -- Gitblit v1.9.1