Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/php/284.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Php codeigniter can';t在live server中加载我的应用程序/核心类_Php_Codeigniter_Codeigniter 2 - Fatal编程技术网

Php codeigniter can';t在live server中加载我的应用程序/核心类

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) {

我在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)
      {
        $post = parent::post($index, $xss_clean);
        return ($post !== FALSE) ? $post : NULL;
      }
}
但是我得到了最初的post方法,代码在我的本地主机上运行良好,但在我的实时服务器上却没有,我不知道为什么

资料:

-编码点火器2.2

-服务器:PHPV5.5.9-1 ubuntu 4.7


-localhost:phpv5.4.27

Ubuntu/linux文件区分大小写

MY_input.php
应该是
MY_input.php
与类名
MY_input