Home  >  Article  >  Backend Development  >  Zendframework的index.phtml不是应该打开主目录就自动打开吗?

Zendframework的index.phtml不是应该打开主目录就自动打开吗?

WBOY
WBOYOriginal
2016-06-23 13:39:201104browse

为什么我需要自己的找到文件,然后打开它啊


回复讨论(解决方案)

你不是应该访问controller么,直接访问views? 

你不是应该访问controller么,直接访问views? 

因为这个文件在view里面啊,按道理是由controller帮我们找到view里面的文件,可是我为什么不可以?

应该访问controller吧,你看下你的配置?确定下你的view路径 或者  你用Controller出现了什么问题!

应该访问controller吧,你看下你的配置?确定下你的view路径 或者  你用Controller出现了什么问题!

不会看啊,为什么我用zd.bat创建或则直接在Zend studio创建,框架里面的require,路径全部都是错的。。怎么办 啊,这个总不能自己改吧,文件都是环环相扣的

看看韩顺平老师的视频教程,他讲解的非常细致。

看看韩顺平老师的视频教程,他讲解的非常细致。

但是我的版本和老师的不一样,很多东西都变了啊
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
Previous article:PHP留言板Next article:php post方式提交数组