php5.4安装ecshopphp5.4问题及解决
- includes/cls_template.php line422 将 $tag_sel = array_shift(explode(" ", $tag)); 这句话拆开为两句。
- includes\lib_main.php 将$ext = end(explode('.', $tmp));改成
$ext = explode('.',$tmp); $ext = end($ext);
- include/cls_image.php 将function gd_version() 改成 静态方法 static function gd_version()
- 登录后台 清空缓存
$tag_exp = explode(' ', $tag);
$tag_sel = array_shift($tag_exp);