在class files中增加了 file_type 的返回,保证写入数据库的信息无误

This commit is contained in:
Li Jianxuan 2011-11-09 09:07:18 +00:00
parent 6edfe6c078
commit 29db5bfdcd
1 changed files with 1 additions and 0 deletions

View File

@ -135,6 +135,7 @@ class files{
$msg['file_size'] = $file_size;
$msg['db_path'] = $dbsave;
$msg['realname'] = $file_name;
$msg['file_type'] = $dir_name;
}//检查扩展名
}//目录正确性
return $msg;