mirror of
https://github.com/midoks/mdserver-web.git
synced 2026-10-09 22:19:26 +08:00
@@ -110,4 +110,7 @@ echo $DOWNLOAD_URL
|
||||
if [ -d /www/server/nezha ];then
|
||||
echo "$INSTALL_VERSION" > /www/server/nezha/version.pl
|
||||
fi
|
||||
|
||||
# 删除下载
|
||||
rm -rf $DOWNLOAD_FILE
|
||||
echo "ok"
|
||||
@@ -9,9 +9,9 @@ serverPath=$(dirname "$rootPath")
|
||||
sourcePath=${serverPath}/source
|
||||
sysName=`uname`
|
||||
|
||||
version=8.3.31
|
||||
version=8.3.33
|
||||
PHP_VER=83
|
||||
md5_file_ok=66410cee07f4b2baeb0843140bb2a2b52ef930b5cf9b3d6e6d158b33aae8fa37
|
||||
md5_file_ok=e293ed620cec74651bb4a071317892a478aa6840fab22db45c72d77cd42f9676
|
||||
Install_php()
|
||||
{
|
||||
#------------------------ install start ------------------------------------#
|
||||
|
||||
@@ -9,9 +9,9 @@ serverPath=$(dirname "$rootPath")
|
||||
sourcePath=${serverPath}/source
|
||||
sysName=`uname`
|
||||
|
||||
version=8.4.22
|
||||
version=8.4.24
|
||||
PHP_VER=84
|
||||
md5_file_ok=696c0f6ad92e94c59059c1eb6e300842b8d050934226efcdf00f2a413cb083cf
|
||||
md5_file_ok=e127be09a8506f4327c5cfa78a614b00d210714484ec215ce0011b4a03c00731
|
||||
Install_php()
|
||||
{
|
||||
#------------------------ install start ------------------------------------#
|
||||
|
||||
@@ -9,9 +9,9 @@ serverPath=$(dirname "$rootPath")
|
||||
sourcePath=${serverPath}/source
|
||||
sysName=`uname`
|
||||
|
||||
version=8.5.7
|
||||
version=8.5.9
|
||||
PHP_VER=85
|
||||
md5_file_ok=01ba2ed1c2658dacf91bebc8be6a4885f69b811c7993831fc48e26107ab29985
|
||||
md5_file_ok=0db7855f25bcd0ab1d592cdb35e284d6f6a5d2ae0f6f621122e364cc39b708f4
|
||||
Install_php()
|
||||
{
|
||||
#------------------------ install start ------------------------------------#
|
||||
|
||||
@@ -53,8 +53,8 @@ app.config["COMPRESS_MIN_SIZE"] = 500 # 最小压缩大小
|
||||
Compress(app)
|
||||
|
||||
# 缓存配置
|
||||
cache = Cache(config={'CACHE_TYPE': 'simple'})
|
||||
cache.init_app(app, config={'CACHE_TYPE': 'simple'})
|
||||
cache = Cache(config={'CACHE_TYPE': 'SimpleCache'})
|
||||
cache.init_app(app, config={'CACHE_TYPE': 'SimpleCache'})
|
||||
|
||||
# 静态文件配置
|
||||
app.static_folder = "../static"
|
||||
|
||||
Reference in New Issue
Block a user