问题现象:
在安装ECShop时,如果出现报下图1现象,可以试下本文中的解决方案
图1
修改文件install/includes/lib_installer.php中,第31行return cls_image::gd_version();代码
修改前:
function get_gd_version()
{
include_once(ROOT_PATH . 'includes/cls_image.php');
$p = new cls_image();
}
修改后:
function get_gd_version()
{
include_once(ROOT_PATH . 'includes/cls_image.php');
$p = new cls_image();
return $p->gd_version();
}