有一些用户指南这样CodeIgniter的URI路由不工作
(:num) will match a segment containing only numbers.
的,所以我做这个
//using wildcard
$route['tool/reply/(\d+)'] = "tool/reply/$1";
//or using regx like this
//$route['tool/reply/(:num)'] = "tool/reply/$1";
但它不仅数字号码相匹配,它匹配字符串作为好。发生了什么?我错过了什么?
来吧,伙计们。这里真的需要一些帮助 – castiel