修复上传文件名获取出错问题

pull/25/head
zsx 2015-08-25 19:04:16 +08:00
parent 2f2e43578c
commit 4dc9d0d6dd
1 changed files with 1 additions and 1 deletions

View File

@ -131,7 +131,7 @@ function get_path_ext($path){
//自动获取不重复文件(夹)名
//如果传入$file_add 则检测存在则自定重命名 a.txt 为a{$file_add}.txt
function get_filename_auto($path,$file_add){
function get_filename_auto($path,$file_add = ""){
$i=1;
$father = get_path_father($path);
$name = get_path_this($path);