commit | d4bf2d073d650810b627347ebb0ea416203fabdc | [log] [tgz] |
---|---|---|
author | Adrià Vilanova Martínez <me@avm99963.com> | Sat Sep 11 16:01:53 2021 +0200 |
committer | Adrià Vilanova Martínez <me@avm99963.com> | Sat Sep 11 14:04:01 2021 +0000 |
tree | 06782b23f5756c61f06d54cb0affacb83c689a2f | |
parent | 854e9a0bcd74b3de4b411169f38a0c44e0e4d2d4 [diff] |
Remove unused code Change-Id: I030b6657ee8628129706855c70fd5ce98060c7f7
Schedule viewer for the Barcelona subway.
ZipArchive
and PDO
classes (specifically install the PDO_SQLITE
driver)config.default.php
file to config.php
and fill in the details (you can get an API key directly from TMB here.$conf["databaseFile"]
enter the absolute path of the location where you want to save your database (including the file name). If the website is located in the /var/www/html/schedules/
folder, you can create a new files
folder there and set the variable to /var/www/html/schedules/files/gtfs.sqlite3
.cron/parsegtfs.php
script regularly to get updated information (e.g. once a week).