我爱占星网 我爱占星网
首页
编程
java
php
前端
首页 编程 java php 前端

使用route php page时,默认控制器无法正常工作

I have a project in this project when my URL

http://host/Bsheet_mvc/

Above is not working

$route['default_controller']        = 'Login';

http://host/Bsheet_mvc/index.php/login

When I use above it its working

This project is made in CI code igniter .

This is case sensitive issue try this

    $route['default_controller'] = 'login';

'l' will be lower case

近期文章

  • 将if / else嵌套在另一个if / else中
  • PHP:插入数据时自动创建唯一ID [关闭]
  • PHP函数作用域调用函数内的函数[关闭]
  • 如何在PHP中获取上传图像的宽度和高度[重复]
  • 如何在codeigniter中更改密码并使用jquery验证字段
  • PHP上传后图像变得怪异(失去所有质量)
  • PHP数组值
  • 平方和与立方 和
  • 各位大佬,这个问题选啥呀?
  • 各位大佬,这个问题选啥呀?
  • 程序改错,按要求输出结果,求解。
  • 求教这串代码哪里有bug?
  • 求助大佬:Windows的ideamysql8.0以上版本连接测试报错:java.net.ConnectException: Connection timed out: connect.怎么解决?
  • Obfuscation 代码的实现问题
  • March of the Penguins 怎么一个编写的
  • Tower Parking 具体的实现方式
  • One is an Interesting Number
  • Convert Kilometers to Miles 的编写思路
  • Broken Keyboard 的问题
  • Help Bob的实现

Copyright ©2022 我爱占星 All Rights Reserved.

浙ICP备2022030071号-1

部分图文来自网络,如有侵犯您的版权,请告诉我们删除

友情链接:代码精华