* finish task #7180.

This commit is contained in:
wangyidong
2020-05-13 17:22:01 +08:00
parent 82945a1be1
commit d81da2876b
6 changed files with 174 additions and 142 deletions
+3 -3
View File
@@ -349,14 +349,14 @@ class fileModel extends model
}
/**
* Get showImport path.
* Get tmp import path.
*
* @access public
* @return string
*/
public function getShowImportPath()
public function getImportTmp()
{
$path = $this->app->getCacheRoot() . 'showimport';
$path = $this->app->getTmpRoot() . 'import';
if(!is_dir($path)) mkdir($path, 0755, true);
return $path;