Problem with Route_To |
I have programmed the following route which works correctly, it uses a regex
Code: $routes->addPlaceholder('slug_alfa', '[a-z0-9]+[\-]?[a-z0-9]+([\-][a-z0-9]+)*'); But when using route_to function it fails, for example PHP Code: route_to("web_empresa_servicios_interes",'slug') preg_match(): Compilation failed: missing closing parenthesis at offset 41 SYSTEMPATH/Router/RouteCollection.php at line 1351 |
Messages In This Thread |
Problem with Route_To - by krummyjack - 04-05-2021, 11:22 PM
RE: Problem with Route_To - by InsiteFX - 04-06-2021, 01:39 AM
RE: Problem with Route_To - by krummyjack - 04-06-2021, 10:20 PM
RE: Problem with Route_To - by InsiteFX - 04-07-2021, 01:43 AM
RE: Problem with Route_To - by krummyjack - 04-07-2021, 10:34 PM
|