diff --git a/class/core/plugins_api.py b/class/core/plugins_api.py index 229c9a562..d1b59093a 100755 --- a/class/core/plugins_api.py +++ b/class/core/plugins_api.py @@ -165,10 +165,11 @@ class plugins_api: + " uninstall " + version data = public.execShell(execstr) - if data[1] == '': - return public.returnJson(True, '已将卸载成功!') - else: - return public.returnJson(False, '卸载出现错误信息!' + data[1]) + return public.returnJson(True, '卸载执行成功!') + # if data[1] == '': + # return public.returnJson(True, '已将卸载成功!') + # else: + # return public.returnJson(False, '卸载出现错误信息!' + data[1]) def checkApi(self): name = request.form.get('name', '') diff --git a/plugins/php/versions/53/install.sh b/plugins/php/versions/53/install.sh index d02d76a28..a5031abf0 100755 --- a/plugins/php/versions/53/install.sh +++ b/plugins/php/versions/53/install.sh @@ -45,6 +45,7 @@ if [ $sysName == 'Darwin' ]; then OPTIONS='--without-iconv' else OPTIONS="--with-iconv=${serverPath}/lib/libiconv" + OPTIONS="${OPTIONS} --with-gd --enable-gd-native-ttf" fi # --enable-intl \ diff --git a/scripts/install_centos.sh b/scripts/install_centos.sh index 88d3dcdc0..bbc7619de 100755 --- a/scripts/install_centos.sh +++ b/scripts/install_centos.sh @@ -49,7 +49,7 @@ if [ "${isVersion}" == '' ];then fi -yum install -y wget curl unzip zip libzip-devel mysql-devel +yum install -y wget curl unzip zip libzip-devel mysql-devel libpng freetype # if [ ! -d '/www/server/mdserver-web' ];then wget -O /tmp/master.zip https://codeload.github.com/midoks/mdserver-web/zip/master