default user agent
This commit is contained in:
parent
7ee17dd0b2
commit
b7d7d63a85
@ -21,7 +21,7 @@ require_once 'config.php';
|
||||
require_once 'functions.php';
|
||||
|
||||
// Default configs.
|
||||
$user_agent = @$config['user_agent'] ?: '';
|
||||
$user_agent = @$config['user_agent'] ?: 'Tile-Proxy-PHP/0.1';
|
||||
$servers = @$config['servers'] ?: array(
|
||||
'osm' => 'https://{switch:a,b,c}.tile.openstreetmap.org/{z}/{x}/{y}.png',
|
||||
'otm' => 'https://{switch:a,b,c}.tile.opentopomap.org/{z}/{x}/{y}.png',
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user