目前正在使用HMVC笨HMVC路線
的HMVC應用一個笨應用程序包含
$route['finance/bill/add'] = 'finance/show_addBill';
$route['finance/transaction/add'] = 'finance/show_addTransaction';
$route['finance/(:any)'] = 'finance/$1';
$route['finance'] = 'finance';
的應用程序有一個財務總監自己routing.php。 當去
http://localhost/finance** it goes to **public function index(){}
http://localhost/finance/transaction/add DOES NOT go to **public function show_addTransaction() {}
http://localhost/finance/addTransaction DOES goes to **public function show_addTransaction() {}
我想不通爲什麼上面的路線不工作:S