pull/109/head
Mr Chen 6 years ago
parent ce19e79898
commit 9791c67a94
  1. 9
      class/core/plugins_api.py
  2. 1
      plugins/php/versions/53/install.sh
  3. 2
      scripts/install_centos.sh

@ -165,10 +165,11 @@ class plugins_api:
+ " uninstall " + version + " uninstall " + version
data = public.execShell(execstr) data = public.execShell(execstr)
if data[1] == '': return public.returnJson(True, '卸载执行成功!')
return public.returnJson(True, '已将卸载成功!') # if data[1] == '':
else: # return public.returnJson(True, '已将卸载成功!')
return public.returnJson(False, '卸载出现错误信息!' + data[1]) # else:
# return public.returnJson(False, '卸载出现错误信息!' + data[1])
def checkApi(self): def checkApi(self):
name = request.form.get('name', '') name = request.form.get('name', '')

@ -45,6 +45,7 @@ if [ $sysName == 'Darwin' ]; then
OPTIONS='--without-iconv' OPTIONS='--without-iconv'
else else
OPTIONS="--with-iconv=${serverPath}/lib/libiconv" OPTIONS="--with-iconv=${serverPath}/lib/libiconv"
OPTIONS="${OPTIONS} --with-gd --enable-gd-native-ttf"
fi fi
# --enable-intl \ # --enable-intl \

@ -49,7 +49,7 @@ if [ "${isVersion}" == '' ];then
fi 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 # if [ ! -d '/www/server/mdserver-web' ];then
wget -O /tmp/master.zip https://codeload.github.com/midoks/mdserver-web/zip/master wget -O /tmp/master.zip https://codeload.github.com/midoks/mdserver-web/zip/master

Loading…
Cancel
Save