You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
87 lines
1.6 KiB
87 lines
1.6 KiB
3 years ago
|
<?php
|
||
|
/*
|
||
|
* @Author: witersen
|
||
|
* @Date: 2022-04-24 23:37:06
|
||
|
* @LastEditors: witersen
|
||
3 years ago
|
* @LastEditTime: 2022-05-07 01:25:25
|
||
3 years ago
|
* @Description: QQ:1801168257
|
||
|
*/
|
||
|
|
||
|
/**
|
||
3 years ago
|
* 如果要修改安装路径 ,请在安装本程序前修改$home_path的值,安装程序后不支持修改
|
||
3 years ago
|
*/
|
||
|
|
||
|
$home_path = '/home/svnadmin/';
|
||
|
|
||
|
$rep_base_path = $home_path . 'rep/';
|
||
|
|
||
|
$backup_base_path = $home_path . 'backup/';
|
||
|
|
||
|
$log_base_path = $home_path . 'logs/';
|
||
|
|
||
|
$temp_base_path = $home_path . 'temp/';
|
||
|
|
||
|
$templete_base_path = $home_path . 'templete/';
|
||
|
|
||
|
return [
|
||
|
/**
|
||
|
* SVNAdmin软件配置信息的主目录
|
||
|
*/
|
||
|
'home_path' => $home_path,
|
||
|
|
||
|
/**
|
||
|
* SVN仓库父目录
|
||
|
*/
|
||
|
'rep_base_path' => $rep_base_path,
|
||
|
|
||
|
/**
|
||
|
* svnserve环境变量文件
|
||
|
*/
|
||
|
'svnserve_env_file' => $home_path . 'svnserve',
|
||
|
|
||
|
/**
|
||
|
* SVN仓库权限配置文件
|
||
|
*/
|
||
|
'svn_conf_file' => $home_path . 'svnserve.conf',
|
||
|
|
||
|
/**
|
||
|
* authz文件
|
||
|
*/
|
||
|
'svn_authz_file' => $home_path . 'authz',
|
||
|
|
||
|
/**
|
||
|
* passwd文件
|
||
|
*/
|
||
|
'svn_passwd_file' => $home_path . 'passwd',
|
||
|
|
||
|
/**
|
||
|
* 备份文件夹
|
||
|
*/
|
||
|
'backup_base_path' => $backup_base_path,
|
||
|
|
||
|
/**
|
||
|
* 日志文件夹
|
||
|
*/
|
||
|
'log_base_path' => $log_base_path,
|
||
|
|
||
|
/**
|
||
|
* svnserve运行日志
|
||
|
*/
|
||
|
'svnserve_log_file' => $log_base_path . 'svnserve.log',
|
||
|
|
||
|
/**
|
||
|
* 临时数据目录
|
||
|
*/
|
||
|
'temp_base_path' => $temp_base_path,
|
||
|
|
||
|
/**
|
||
|
* 模板文件目录
|
||
|
*/
|
||
|
'templete_base_path' => $templete_base_path,
|
||
|
|
||
|
/**
|
||
|
* 初始化仓库结构模板
|
||
|
*/
|
||
|
'templete_init_struct' => $templete_base_path . '01/',
|
||
|
];
|