- Fixed email route argument pattern and added getenvonce() method
This commit is contained in:
1 parent
8090e493b5
commit
020227abfe
1 file changed
-1
@@ -71,7 +71,6 @@ return [
|
|||||||
$router->addPatternMatcher('email', '[^@ \t\r\n/]+@[^@ \t\r\n/]+\.[^@ \t\r\n/]+');
|
$router->addPatternMatcher('email', '[^@ \t\r\n/]+@[^@ \t\r\n/]+\.[^@ \t\r\n/]+');
|
||||||
$router->addPatternMatcher('ids', '\b\d[\d,]*\b');
|
$router->addPatternMatcher('ids', '\b\d[\d,]*\b');
|
||||||
|
|
||||||
|
|
||||||
$routing = $container->get(Lean\Routing::class);
|
$routing = $container->get(Lean\Routing::class);
|
||||||
$routing->registerRoute($container, getenv('URL_BASE'));
|
$routing->registerRoute($container, getenv('URL_BASE'));
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user