Php codeigniter can';t在live server中加载我的应用程序/核心类
我在application/core/MY_input.php中有一个名为MY_input的类。我想重写返回false的现有post方法。这是代码Php codeigniter can';t在live server中加载我的应用程序/核心类,php,codeigniter,codeigniter-2,Php,Codeigniter,Codeigniter 2,我在application/core/MY_input.php中有一个名为MY_input的类。我想重写返回false的现有post方法。这是代码 class MY_Input extends CI_Input { function __construct() { parent::__construct(); } function post($index = NULL, $xss_clean = FALSE) {
class MY_Input extends CI_Input {
function __construct()
{
parent::__construct();
}
function post($index = NULL, $xss_clean = FALSE)
{
$post = parent::post($index, $xss_clean);
return ($post !== FALSE) ? $post : NULL;
}
}
但是我得到了最初的post方法,代码在我的本地主机上运行良好,但在我的实时服务器上却没有,我不知道为什么
资料:
-编码点火器2.2
-服务器:PHPV5.5.9-1 ubuntu 4.7
-localhost:phpv5.4.27Ubuntu/linux文件区分大小写
MY_input.php
应该是MY_input.php
与类名MY_input