<?php
/**
* Configuration file for PHPMySVNAdmin
*
* @package PHPMySVNAdmin
* @author Jaswinder Rattanpal (www.rattanpal.com)
* @version 1.0
*/
//Folder where SVN repo is located
$config['drive_svn'] = 'e:';
//SVN Repo folder
$config['dir_svn'] = '_repo';//this will be used like e:/_repo
//Permissions file for SVN which defines which users have permissions to which repos
//It will also contain 2 special blocks; groups and alias. These 2 blocks will treated differntly in this project
$config['file_permissions'] = '_config/svn_permissions.conf';
//.htpasswd file for SVN
$config['file_htpasswd'] = '_config/svn_users.conf';
//Location of SVNAdmin.exe utility
$config['file_svnadmin'] = 'C:/subversion/bin/svnadmin.exe';
//Location of svn.exe utility
$config['file_svn'] = 'C:/subversion/bin/svn.exe';
//URL location of SVN
$config['url_svn'] = 'http://server/svn';
//Admin user group which will be added to all new repos by default
//Leave empty if you don't want to add any group
$config['default_group'] = '@admin';
//Default permission for default group
$config['default_permission'] = 'rw';
//File which has all generic functions
require_once('lib/functions.php');
//SVN class which deals with all SVN related actions
require_once('lib/class.phpmysvnadmin.php');
//Create SVN object to be used later on
$svn = new PhpMySvnAdmin($config);
|