1
0
mirror of https://github.com/klokantech/tileserver-php.git synced 2025-08-06 06:38:27 +02:00

Router: Add support for @ in names of layers

This commit is contained in:
dala
2014-07-23 15:32:10 +02:00
parent ea6e176ab3
commit d4121d86d5

View File

@@ -1414,7 +1414,7 @@ class Router {
$tokens = array(
':string' => '([a-zA-Z]+)',
':number' => '([0-9]+)',
':alpha' => '([a-zA-Z0-9-_]+)'
':alpha' => '([a-zA-Z0-9-_@]+)'
);
global $config;
foreach ($routes as $pattern => $handler_name) {