znt/module/svn/config.php

19 lines
958 B
PHP
Raw Permalink Normal View History

<?php
/**
* encodings: 提交日志的编码比如GBK可以用逗号连接起来的多个。
* client: svn客户端执行文件的路径windows下面考虑安装Slik-Subversion然后找到svn.exe的路径。linux下面比如/usr/bin/svn
* repos可以是多个需要设定某一个库的访问路径以及用户名和密码。
*
* encodings: the encoding of the commentcan be a list.
* 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
* Can set multi repos, ervery one should set the path, username and password.
*
* 例子:
* $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']['encoding'] = 'utf-8';
* $config->svn->repos['pms']['password'] = 'pass';
*
*/