在class files中增加了 file_type 的返回,保证写入数据库的信息无误
This commit is contained in:
parent
6edfe6c078
commit
29db5bfdcd
|
@ -135,6 +135,7 @@ class files{
|
||||||
$msg['file_size'] = $file_size;
|
$msg['file_size'] = $file_size;
|
||||||
$msg['db_path'] = $dbsave;
|
$msg['db_path'] = $dbsave;
|
||||||
$msg['realname'] = $file_name;
|
$msg['realname'] = $file_name;
|
||||||
|
$msg['file_type'] = $dir_name;
|
||||||
}//检查扩展名
|
}//检查扩展名
|
||||||
}//目录正确性
|
}//目录正确性
|
||||||
return $msg;
|
return $msg;
|
||||||
|
|
Loading…
Reference in New Issue