* Adjust codes.
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user