You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 23, 2019. It is now read-only.
请问下,您上传的这份代码是否有问题?
为什么没有module目录,并且看您也定义了两个module(index, admin).
我把环境搭好后,所有页面使用默认路由方式都最后到了indexController的indexAction了,不知道是为什么?
访问 domain.com/item/test,打印出$dispatcher, 部分结果如下:
object(Yaf_Router)[5]
protected '_routes' =>
array
'_default' =>
object(Yaf_Route_Static)[6]
...
'supervar' =>
object(Yaf_Route_Supervar)[10]
...
'simple' =>
object(Yaf_Route_Simple)[11]
...
protected '_current' => null
protected '_view' => null
protected '_request' =>
object(Yaf_Request_Http)[3]
public 'module' => null
public 'controller' => null
public 'action' => null
public 'method' => string 'GET' (length=3)
protected 'params' =>
array
empty
protected 'language' => null
protected '_exception' => null
protected '_base_uri' => string '/index.php' (length=10)
protected 'uri' => string '/index.php' (length=10)
protected 'dispatched' => boolean false
protected 'routed' => boolean false
The text was updated successfully, but these errors were encountered: