PHP Classes

File: config.php

Recommend this page to a friend!
  Classes of Jaswinder  >  PHP My SVN Admin  >  config.php  >  Download  
File: config.php
Role: Configuration script
Content type: text/plain
Description: Configuration script
Class: PHP My SVN Admin
Manage SubVersion repositories
Author: By
Last change: Add a default group to a new repo
Date: 3 years ago
Size: 1,408 bytes


Class file image Download
 * Configuration file for PHPMySVNAdmin
 * @package PHPMySVNAdmin
 * @author Jaswinder Rattanpal (
 * @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

//SVN class which deals with all SVN related actions

//Create SVN object to be used later on
$svn = new PhpMySvnAdmin($config);