我从我的开发人员下载了一个项目到本地,几乎完成了,我必须纠正其中的一些问题。由于我是 Code Igniter 的新手,我无法弄清楚控制器文件的位置?
http://localhost/ric/view/store/3 是我的 URL,通过查看 URL,控制器名称应该是“view”,功能是“store”,但在我的控制器目录中,没有这样命名的文件。任何机构都可以帮助我吗?完整的路由是这样的
$route['default_controller'] = "site";
$route['scaffolding_trigger'] = "";
$route['classifieds'] = "site/classifieds";
$route['specials'] = "site/specials";
$route['hot'] = "site/hot";
$route['joinus'] = "site/joinus";
$route['faq'] = "site/faq";
$route['browse'] = "product/browse";
$route['browse/:any'] = "product/browse/$1";
$route['stcat/:any'] = "store/browse/$1";
$route['search/:any'] = "product/search/$1";
$route['searchstore/:any'] = "store/search/$1";
$route['view/product/:num'] = "product/getOne/$1";
$route['view/store/:num'] = "store/getOne/$1";
$route['view/article/:any'] = "article/get/$1";