v2.1.02-20231012

This commit is contained in:
MI15\Win
2023-10-13 14:48:43 +08:00
parent 979295c684
commit 9e31b94527
9 changed files with 95 additions and 98 deletions

View File

@@ -108,7 +108,7 @@ function other_upsys(){
set_time_limit(5*60);
try {
//根据数据库类型扫描不同目录,并声明执行SQL语句的函数
if($GLOBALS['db_config']['type'] == 'mysql'){
if($GLOBALS['db_config']['type'] == 'mysql' || $GLOBALS['db_config']['type'] == 'mariadb'){
$dir = './system/MySQL';
function exe_sql($content) {
global $db;