Skip to content
Snippets Groups Projects
Commit c47889ec authored by Anton Sarukhanov's avatar Anton Sarukhanov
Browse files

example config

parent 77f639a4
Branches master
No related tags found
No related merge requests found
<?php
/*
Configure app settings here.
Example values below.
Change them, and rename this file to 'config.php'.
*/
$cfg = array(
"mysql" => array(
"hostname" => "localhost",
"database" => "busmap",
"username" => "busmap",
"password" => "potato",
),
"agency" => array(
"shortname" => "examplebusco",
"name" => "Example Bus Company",
"description" => "Real-time animated map of the EBC bus service.",
"attribution" => 'Map data &copy; <a href="http://osm.org/copyright">OSM contributors</a>',
"errorTileUrl" => "http://example.com/generic/tile-blank-black.png",
"busIconUrl" => "http://example.com/img/bus.png",
"tileset" => "examplebusco-black",
"tileSubdomains" => ['a', 'b', 'c', 'd', 'e'],
"tileUrl" => "http://{s}.example.com/tiles/{tileset}/{z}/{x}/{y}.png",
"hideRoutes" => ['connect', 'kearney', 'penn', 'pennexpr'],
"staleBusTime" => 120,
),
);
?>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment