Skip to content

Commit

Permalink
更新 v1.2.5版本
Browse files Browse the repository at this point in the history
  • Loading branch information
LyLme committed Jun 12, 2022
1 parent 535f9e5 commit fe30a62
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion about/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
}
else {
//文件不存在
@file_put_contents($about,'<h1>404</h1>'));
@file_put_contents($about,'<h1>404</h1>');
echo file_get_contents($about);
}
?>
Expand Down
3 changes: 3 additions & 0 deletions include/updbase.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,9 @@ function get_vernum($version){
$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<count($sql);$i++) {
if (trim($sql[$i])=='')continue;
Expand Down
2 changes: 1 addition & 1 deletion include/version.php
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
<?php
define('VERSION', '1.2.0');
define('VERSION', '1.2.5');
?>

0 comments on commit fe30a62

Please sign in to comment.