Browse Source

功能开发结束 bug修订结束 开始进行安装测试和docker制作

docker-svn
witersen 3 years ago
parent
commit
6170ff7af8
  1. 9
      02.php/app/service/Svnrep.php

9
02.php/app/service/Svnrep.php

@ -3,7 +3,7 @@
* @Author: witersen * @Author: witersen
* @Date: 2022-04-24 23:37:05 * @Date: 2022-04-24 23:37:05
* @LastEditors: witersen * @LastEditors: witersen
* @LastEditTime: 2022-05-11 13:39:47 * @LastEditTime: 2022-05-11 15:24:12
* @Description: QQ:1801168257 * @Description: QQ:1801168257
*/ */
@ -1136,7 +1136,12 @@ class Svnrep extends Base
]); ]);
//从配置文件修改仓库名称 //从配置文件修改仓库名称
$this->SVNAdminRep->UpdRepAuthz($this->authzContent, $this->payload['old_rep_name'], $this->payload['new_rep_name']); $result = $this->SVNAdminRep->UpdRepAuthz($this->authzContent, $this->payload['old_rep_name'], $this->payload['new_rep_name']);
if ($result == '1') {
return message(200, 0, '仓库不存在');
}
FunFilePutContents($this->config_svn['svn_authz_file'], $result);
//日志 //日志
$this->Logs->InsertLog( $this->Logs->InsertLog(

Loading…
Cancel
Save