This commit is contained in:
Mr Chen
2019-03-13 12:53:54 +08:00
parent c2745a5f16
commit 24191e082a
3 changed files with 7 additions and 5 deletions
+5 -4
View File
@@ -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', '')
+1
View File
@@ -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 \
+1 -1
View File
@@ -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