修复安装文件 不兼容php7.4+的问题

This commit is contained in:
zyx 2020-12-15 17:07:46 +08:00
parent 2a3a0ddd0f
commit 46edc6b86e

View File

@ -212,7 +212,7 @@ if($method == 'show_license') {
}
}
if(strpos($tablepre, '.') !== false || intval($tablepre{0})) {
if(!preg_match("/^[a-z][a-z0-9]+_$/i",$tablepre)) {
show_msg('tablepre_invalid', $tablepre, 0);
}