update to 6.8.27

This commit is contained in:
aaPanel
2022-12-16 10:40:55 +08:00
parent d2a66661db
commit 7dcaa2b5ce
148 changed files with 22281 additions and 13876 deletions
+3 -3
View File
@@ -5,16 +5,16 @@ install_tmp='/tmp/bt_install.pl'
download_Url=http://download.bt.cn
Install_Ftp()
{
echo '正在安装脚本文件...' > $install_tmp
echo 'Installing script files...' > $install_tmp
wget -O /www/server/panel/script/backup_ftp.py $download_Url/install/lib/script/backup_ftp.py -T 5
echo '安装完成' > $install_tmp
echo 'The installation is complete' > $install_tmp
}
Uninstall_Ftp()
{
rm -f /www/server/panel/script/backup_ftp.py
echo '卸载完成' > $install_tmp
echo 'Uninstall complete' > $install_tmp
}
+2 -1
View File
@@ -7,7 +7,8 @@ from json import loads
lets_info = public.readFile("/www/server/panel/ssl/lets.info")
if lets_info:
lets_info = loads(lets_info)
if setPanelLets.setPanelLets().check_cert_update(lets_info['domain']):
res = setPanelLets.setPanelLets().check_cert_update(lets_info['domain'])
if res['status'] and res['msg'] == '1':
strTime = time.strftime("%Y-%m-%d %H:%M:%S", time.localtime(int(time.time())))
public.writeFile("/tmp/panelSSL.pl","{} Panel certificate updated successfully\n".format(strTime),"a+")
public.writeFile('/www/server/panel/data/reload.pl',"1")
+1 -1
View File
@@ -6,7 +6,7 @@ export PATH
#+------------------------------------
endDate=`date +"%Y-%m-%d %H:%M:%S"`
log="释放内存!"
log="Free up memory!"
echo "★[$endDate] $log"
echo '----------------------------------------------------------------------------'