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

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

WBOY
Release: 2016-06-13 10:27:26
Original
877 people have browsed it

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


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

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


访问

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

出现一个空白页面

打开源代码
只有





Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template