* Adjust codes.

This commit is contained in:
caoyanyi
2022-08-05 08:31:54 +08:00
parent 094cc998aa
commit babcd069a8
+2 -1
View File
@@ -701,7 +701,8 @@ class Subversion
/* Get repo name. */
$pathList = explode('/', trim($this->root, '/'));
$repoDir = $savePath . DS . end($pathList);
$res = execCmd($this->replaceAuth(escapeCmd("$this->client export $this->root $repoDir")));
execCmd($this->replaceAuth(escapeCmd("$this->client export $this->root $repoDir")));
$fileName = $savePath . DS . "{$this->repo->name}.zip";
$app->loadClass('pclzip', true);
$zip = new pclzip($fileName);