commit | f4c66728749ef721364e7e1e2e0f10c3f561060f | [log] [tgz] |
---|---|---|
author | Adrià Vilanova Martínez <me@avm99963.com> | Wed Oct 20 21:53:30 2021 +0200 |
committer | Adrià Vilanova Martínez <me@avm99963.com> | Wed Oct 20 21:54:02 2021 +0200 |
tree | 5c4368a427c1dc1f23f61addf23b6ba521fa1e70 | |
parent | 98d0aded4f819eddf6e5b3c805e5194140f2a5bb [diff] |
Bump cache version Otherwise the last change won't propagate. Change-Id: Ia2f849ee17687b5aca4bddf63fc7e22366c802f0
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).