提交 ecac4191 编写于 作者: G gongfuxiang

安装程序优化

上级 a6ae6ec8
......@@ -35,9 +35,9 @@
</tr>
<?php
$tmp = function_exists('gd_info') ? gd_info() : array();
if(!empty($tmp))
if(function_exists('gd_info'))
{
$tmp = gd_info();
preg_match("/[\d.]+/", $tmp['GD Version'], $match);
unset($tmp);
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册