在Codeigniter中使用这个HMVC插件。(https://bitbucket.org/wiredesignz/codeigniter-modular-extensions-hmvc/src/codeigniter-3.x/)
在另一台服务器上正常运行,但在此服务器上出现了以下错误!
A PHP Error was encountered
Severity: 8192
Message: strpos(): Non-string needles will be interpreted as strings in the future. Use an explicit chr() call to preserve the current behavior
Filename: MX/Router.php
Line Number: 239
Backtrace:
File: /var/www/project.test/public/application/third_party/MX/Router.php
Line: 239
Function: strpos
File: /var/www/project.test/public/application/third_party/MX/Router.php
Line: 101
Function: _set_default_controller
File: /var/www/project.test/public/index.php
Line: 324
Function: require_once