2023-05-16 10:47:08 +08:00

47 lines
1.9 KiB
PHP
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<?php
/**
* 1. client设置: svn客户端执行文件的路径windows下面考虑安装Slik-Subversion然后找到svn.exe的路径。linux下面比如/usr/bin/svn
* 2. svn repos设置 可以是多个,需要设定某一个库的访问路径,以及用户名和密码。
* 3. zentao访问信息设置需要设置zentao的访问路径以及拥有subversion模块的 接口同步svn日志权限的用户和密码。
*
* 1. client: the svn client binary path. You can install Slik-Subversion unser windows, then find the path of svn.exe. under linux, try /usr/bin/svn
* 2. svn repos: Can set multi repos, ervery one should set the path, username and password.
* 3. zentao setting: must set the zentao url and the account with his password who can access subversion modules' api:sync svn log page.
*
* example:
* $config->svn->client = '/usr/bin/svn'; // c:\svn\svn.exe
* $config->svn->repos['pms']['path'] = 'http://svn.zentao.net/zentao/trunk/';
* $config->svn->repos['pms']['username'] = 'user';
* $config->svn->repos['pms']['password'] = 'pass';
*
* $config->zentao->path = "http://pms.zentao.net/";
* $config->zentao->user = 'demo';
* $config->zentao->password = '123456';
*
*/
/* System settings. */
$config->timezone = 'Asia/Shanghai'; // The time zone setting, for more see http://www.php.net/manual/en/timezones.php
$config->sleep = 0; // The seconds to sleep.
$config->svn = new stdclass();
/* Subversion settings. */
$config->svn->client = '';
$i = 1;
$config->svn->repos[$i]['path'] = '';
$config->svn->repos[$i]['username'] = '';
$config->svn->repos[$i]['password'] = '';
/*
$i ++;
$config->svn->repos[$i]['path'] = '';
$config->svn->repos[$i]['username'] = '';
$config->svn->repos[$i]['password'] = '';
*/
/* ZenTaoPMS settings. */
$config->zentao = new stdclass();
$config->zentao->path = '';
$config->zentao->user = '';
$config->zentao->password = '';