diff --git a/application/models/files.php b/application/models/files.php index 900e18b3..ee7d3224 100644 --- a/application/models/files.php +++ b/application/models/files.php @@ -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;