Home > Backend Development > PHP Tutorial > codeingoniter - php框架CI的路由怎么配置?

codeingoniter - php框架CI的路由怎么配置?

WBOY
Release: 2016-06-06 20:50:43
Original
1710 people have browsed it

下载了2.13版的CodeIngoniter,什么也没改变的情况下,任何路由都会指向default controller,在router.php里面写的也不起作用,如果不写defaultcontroller的话/index.php/welcome/index也访问不到welcome。
是什么原因?还有其他什么需要配置的吗?

这个问题已被关闭,原因:

回复内容:

下载了2.13版的CodeIngoniter,什么也没改变的情况下,任何路由都会指向default controller,在router.php里面写的也不起作用,如果不写defaultcontroller的话/index.php/welcome/index也访问不到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