php中關於ci框架修改後綴並去掉url中的index.php

在application文件中的config文件下的config.php文件,找到 $config['url_suffix'] = '';這一句就是添加你訪問的後綴,如果這樣子寫 $config['url_suffix'] = '.html';那麼你訪問的時候在ci.com/index.php/welcome/index.html和 ci.com/index.php/welcome/index這兩
相關文章
相關標籤/搜索