IT博客汇
  • 首页
  • 精华
  • 技术
  • 设计
  • 资讯
  • 扯淡
  • 权利声明
  • 登录 注册

    ecshop php5.5兼容utf-8版本

    月小升发表于 2016-11-04 02:17:18
    love 0
    发生了这样的事情。 preg_replace Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /Users/ge/ge/web/php/ge/ecshop/includes/cls_template.php on line 1067 300 return preg_replace("/{([^\}\{\n]*)}/e", "\$this->sel ect('\\1');", $source); 替换为 return preg_replace_callback("/{([^\}\{\n]*)}/", function($r) { return $this->sel ect($r[1]); }, $source); 问题解决。 今天安装ecshop的时候最上面出现了一个错误提示:Strict Standards: Only variables should be … 继续阅读 →


沪ICP备19023445号-2号
友情链接