How can I have case insesitive URL?
https://localhost:8188/login - OK
https://localhost:8188/logiN - Error 404, but I want to do loginAction ....
Thanks for help
Router settings
$di->set ( 'router', function () {
$router = new \Phalcon\Mvc\Router ( false );
$router->add ( "/login", array (
"controller" => "index",
"action" => "login"
) );
$router->add ( "/(.*)-{productid:[0-9]+}", array (
"controller" => "products",
"action" => "index"
) );
$router->notFound ( array (
"controller" => "index",
"action" => "route404"
) );
$router->setDefaults ( array (
"controller" => "index",
"action" => "route66"
) );
return $router;
} );