spl_autoload函数在检索之前会对类名进行小写转换,这样会让有大小写组合习惯的类查找不到,windows下大小写不敏感,在linux下如何去解决此办法?(不想全部改成小写,或转成require);各位大神出出招。感激class Autoloaders {
 public static $loader;    public static function init() {
        if (self::$loader == NULL) {
            self::$loader = new self ();
        }
        return self::$loader;
    }  public function __construct() {        spl_autoload_register ( array ($this, 'controller' ) );
        spl_autoload_register ( array ($this, 'model' ) );
        spl_autoload_register ( array ($this, 'view' ) );    }
  public function controller($class) {
        set_include_path ( get_include_path().PATH_SEPARATOR .'App/Controller/' );
        spl_autoload_extensions ( '.class.php' );
        spl_autoload ( $class );
    }    public function model($class) {
        set_include_path ( get_include_path().PATH_SEPARATOR .'App/Model/' );
        spl_autoload_extensions ( '.class.php' );
        spl_autoload ( $class );
    }    public function view($class) {
        set_include_path (get_include_path().PATH_SEPARATOR . 'App/View/' );
        spl_autoload_extensions ( '.class.php' );
        spl_autoload ( $class );
    }
}