1. 大B分支拉取以后不要忘记把index.php中dev环境改为

$save_url = "http://dev-b2b.dev1.fn/";

2. 大B分支拉取后,记得/base/kernal/conf/convention.php中memcache改为memcached

3. 最最重要,大B分支拉取以后,base.class.php中

            // if(!empty($_SERVER['PATH_INFO'])){
            //     $_app = array_shift(explode('/',trim($_SERVER['PATH_INFO'],'/')));
            // }

             if(!empty($_SERVER['PATH_INFO'])){
                $filterPathInfo = explode('/',trim($_SERVER['PATH_INFO'],'/'));
                $_app = array_shift($filterPathInfo);
            }

实测php5.5可以使用函数的返回值作为array_shift的入参,而php5.6却不可以,必须使用值作为入参!所以一定要改为值作为array_shift入参的方式!

相关文章:

  • 2022-12-23
  • 2021-12-03
  • 2021-07-24
  • 2021-11-06
  • 2022-02-12
  • 2021-06-19
  • 2021-05-23
  • 2021-06-01
猜你喜欢
  • 2021-09-25
  • 2021-12-26
  • 2022-02-28
  • 2021-08-11
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案