Home >Backend Development >PHP Tutorial >请问一个cakephp的路径印射有关问题

请问一个cakephp的路径印射有关问题

WBOY
WBOYOriginal
2016-06-13 10:27:26879browse

请教一个cakephp的路径印射问题
我的
routes文件有以下配置
Router::connect('/tf/*', array('controller' => 'tf'));


Router::connect('/demo', array('controller' => 'trees'));

我访问:
http://localhost/demo
时候可以正常显示


访问

http://localhost/tf/load?userid=1

出现一个空白页面

打开源代码
只有





Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn