更新 v1.2.5版本

This commit is contained in:
六零 2022-06-12 11:45:09 +08:00
parent 535f9e5f6f
commit fe30a6207d
3 changed files with 5 additions and 2 deletions

View File

@ -21,7 +21,7 @@ if(file_exists($about)){
} }
else { else {
//文件不存在 //文件不存在
@file_put_contents($about,'<h1>404</h1>')); @file_put_contents($about,'<h1>404</h1>');
echo file_get_contents($about); echo file_get_contents($about);
} }
?> ?>

View File

@ -41,6 +41,9 @@ if($sqlvn < 10200) {
$version = 'v1.2.0'; $version = 'v1.2.0';
$sql = $sql.file_get_contents(ROOT.'install/update5.sql'); $sql = $sql.file_get_contents(ROOT.'install/update5.sql');
} }
if($sqlvn < 10205) {
$version = 'v1.2.5';
}
$sql=explode(';',$sql); $sql=explode(';',$sql);
for ($i=0;$i<count($sql);$i++) { for ($i=0;$i<count($sql);$i++) {
if (trim($sql[$i])=='')continue; if (trim($sql[$i])=='')continue;

View File

@ -1,3 +1,3 @@
<?php <?php
define('VERSION', '1.2.0'); define('VERSION', '1.2.5');
?> ?>