Home > Backend Development > PHP Tutorial > Zend Framework 怎么设置想要显示的默认首页

Zend Framework 怎么设置想要显示的默认首页

WBOY
Release: 2016-06-13 12:06:47
Original
824 people have browsed it

Zend Framework 如何设置想要显示的默认首页
基于Zend Framework 的网站只输入域名默认是index/index的路由地址,如何设置自己想要的action作为默认首页呢?
------解决思路----------------------

对,就是这样。
------解决思路----------------------

引用:
没人回答自己回答吧:
在indexAction中跳转就行了,比如:
$this->_helper->redirector('user', 'welcome');


= = 你在散分么。。 控制器里头不是设置首页的吗?》
------解决思路----------------------
引用:

对,就是这样。


引用:

对,就是这样。


你~~~~~~~~~~~ 牛~~~~~~~~~~~~~~~~逼!!!!!!
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