From fe30a6207dadf9597e949662bfdfdd666ff4d4fc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=85=AD=E9=9B=B6?= Date: Sun, 12 Jun 2022 11:45:09 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20v1.2.5=E7=89=88=E6=9C=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- about/index.php | 2 +- include/updbase.php | 3 +++ include/version.php | 2 +- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/about/index.php b/about/index.php index cdb14a5..ce95557 100644 --- a/about/index.php +++ b/about/index.php @@ -21,7 +21,7 @@ if(file_exists($about)){ } else { //文件不存在 - @file_put_contents($about,'

404

')); + @file_put_contents($about,'

404

'); echo file_get_contents($about); } ?> diff --git a/include/updbase.php b/include/updbase.php index fe806f5..34a7c36 100644 --- a/include/updbase.php +++ b/include/updbase.php @@ -41,6 +41,9 @@ if($sqlvn < 10200) { $version = 'v1.2.0'; $sql = $sql.file_get_contents(ROOT.'install/update5.sql'); } +if($sqlvn < 10205) { + $version = 'v1.2.5'; +} $sql=explode(';',$sql); for ($i=0;$i \ No newline at end of file