* Wrap move_uploaded_file function.

This commit is contained in:
zhujinyong
2021-04-22 17:23:14 +08:00
parent 75fe67cbdb
commit cf24126d5b
7 changed files with 36 additions and 12 deletions
+1 -1
View File
@@ -1522,7 +1522,7 @@ class testcase extends control
$file = $file[0];
$fileName = $this->file->savePath . $this->file->getSaveName($file['pathname']);
move_uploaded_file($file['tmpname'], $fileName);
helper::saveFile($file['tmpname'], $fileName);
$rows = $this->file->parseCSV($fileName);
$fields = $this->testcase->getImportFields($productID);