发布v2.6.5版本

This commit is contained in:
雨中磐石
2024-08-01 12:20:59 +08:00
parent 79a1a21195
commit ddbeb70658
14 changed files with 51 additions and 27 deletions

View File

@@ -292,4 +292,14 @@ function lang($str,$lx='')
$nstr = arrvalue($data[$str], $xuhao);
if(!$nstr)$nstr = $str;
return $nstr;
}
/**
* 为空替换为''
*/
function repempt($str,$dev='')
{
$s = $str;
if($s===null)$s=$dev;
return $s;
}