Php _重新映射函数以重定向到不同的url
我喜欢我的routes.phpPhp _重新映射函数以重定向到不同的url,php,codeigniter,Php,Codeigniter,我喜欢我的routes.php I have the following routing to redirect to url: $route['AccountTest/test'] = "Account/test"; $route['SalaryTest/test'] = salary/test"; 如何实现_remap()codeigniter函数来实现相同的功能,而不是使用routes.php $route['test1] = 'test1/contact; $rou
I have the following routing to redirect to url:
$route['AccountTest/test'] = "Account/test";
$route['SalaryTest/test'] = salary/test";
如何实现_remap()codeigniter函数来实现相同的功能,而不是使用routes.php
$route['test1] = 'test1/contact;
$route['test2'] = 'test1/contact;
请参见您可以使用route.php文件进行此操作
$route['test1] = 'test1/contact;
$route['test2'] = 'test1/contact;
请参见是否可以使用_remap()通过将url作为参数传递来实现此目的?是否可以使用_remap()通过将url作为参数传递来实现此目的?