修复 链接颜色导致bug

This commit is contained in:
六零 2022-12-06 12:16:09 +08:00
parent 52b9bd249c
commit 552ffb697d
3 changed files with 7 additions and 1 deletions

View File

@ -53,6 +53,10 @@ if($sqlvn < 10304) {
if($sqlvn < 10500) {
$version = 'v1.5.0';
}
if($sqlvn < 10501) {
$version = 'v1.5.1';
$sql = $sql.file_get_contents(ROOT.'install/update6.sql');
}
$sql=explode(';',$sql);
for ($i=0;$i<count($sql);$i++) {
if (trim($sql[$i])=='')continue;

View File

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

2
install/update6.sql Normal file
View File

@ -0,0 +1,2 @@
-- v1.5.1
ALTER TABLE `lylme_links` CHANGE `name` `name` VARCHAR(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '链接标题';