php5.4安装ecshopphp5.4问题及解决

时间:2021-09-01 03:14:56
  1. includes/cls_template.php line422 将 $tag_sel = array_shift(explode(" ", $tag)); 这句话拆开为两句。
  2. $tag_exp = explode(' ', $tag);
    $tag_sel = array_shift($tag_exp);
  3. includes\lib_main.php 将$ext = end(explode('.', $tmp));改成
    $ext = explode('.',$tmp);
    $ext = end($ext);
  4. include/cls_image.php 将function gd_version() 改成 静态方法 static function gd_version()
  5. 登录后台 清空缓存