Location: PHPKode > projects > Svn-access-manager > svn_access_manager/config/config.inc.php.tpl
<?php

/*
    SVN Access Manager - a subversion access rights management tool
    Copyright (C) 2008 Thomas Krieger <hide@address.com>

    This program is free software; you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation; either version 2 of the License, or
    (at your option) any later version.

    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.

    You should have received a copy of the GNU General Public License
    along with this program; if not, write to the Free Software
    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
*/

/*

File:            config.inc.php.tpl
$LastChangedDate: 2010-07-15 19:49:46 +0200 (Thu, 15 Jul 2010) $
$LastChangedBy: kriegeth $

$Id: config.inc.php.tpl 470 2010-07-15 17:49:46Z kriegeth $

*/


if (ereg ("config.inc.php", $_SERVER['PHP_SELF'])) {
   
   header ("Location: login.php");
   exit;
   
}


$CONF['install_base']			= '###INSTALLBASE###';

// Language config
$CONF['default_language'] 		= 'en';
$CONF['default_locale']			= 'en_US';
$CONF['supported_languages']	= array ('de', 'de_DE', 'en', 'en_US');

// Database Config
$CONF['database_type'] 			= '###DBTYPE###';
$CONF['database_host'] 			= '###DBHOST###';
$CONF['database_user'] 			= '###DBUSER###';
$CONF['database_password'] 		= '###DBPASS###';
$CONF['database_name'] 			= '###DBNAME###';
$CONF['database_prefix'] 		= '';
$CONF['database_innodb']		= 'YES';
$CONF['database_charset']		= '###DBCHARSET###';
$CONF['database_collation']		= '###DBCOLLATION###';
$CONF['database_schema']		= '###DBSCHEMA###';
$CONF['database_tablespace']	= '###DBTABLESPACE###';
$CONF['session_in_db']			= '###SESSIONINDB###';

$CONF['website_charset']		= '###WEBSITECHARSET###';

// Sort order for user
$CONF['user_sort_fields']		= "name,givenname";
$CONF['user_sort_order']		= "ASC";

// Site Admin
// Define the Site Admins email address below.
$CONF['admin_email'] 			= '###ADMINEMAIL###';

$CONF['encrypt'] 				= 'system';
$CONF['generate_password'] 		= 'YES';

// Lost password
$CONF['lostPwSender']			= '###LOSTPWSENDER###';
$CONF['lostPwMaxError']			= ###LOSTPWMAXERROR###;
$CONF['lostPwLinkValid']		= ###LOSTPWLINKVALID###;

$CONF['logging']				= '###USELOGGING###';

// Page Size
// Set the number of entries that you would like to see
// in one page.
$CONF['page_size'] 				= '###PAGESIZE###';

$CONF['passwordSpecialChars']	= '[\!\"\§\$\%\/\(\)=\?\*\+\#\-\_\.\:\,\;\<\>\|\@]';
$CONF['passwordSpecialCharsTxt']= '!"§$%/()=?*+#-_.:,;<>|@';
$CONF['minPasswordlength']		= ###MINPWADMIN###;
$CONF['minPasswordlengthUser']	= ###MINPWUSER###;
// Set passwword complexity. A password must consist of four different goups och charactsers.
// The four groups are locer-case and upper-case characters, special characters and digits
// The two config varaibles $CONF['minPasswordGroups'] and $CONF['minPasswordGroupsUser']
// allow to set how many groups a password must consist of. The maximum is 4, the minimum is 1!
// If the values are out of range, for user 3 is assumed and for admins 4 is assumed
$CONF['minPasswordGroups']		= 4;
$CONF['minPasswordGroupsUser']	= 3;
$CONF['password_expires']		= 60;
$CONF['password_expires_warn']	= 50;
# valid values for pwcrypt are md5 or crypt
$CONF['pwcrypt']				= '###PWCRYPT###';

$CONF['copyright']				= '(C) 2008, 2009, 2010 Thomas Krieger (tom(at)svn-access-manager(dot)org)';

$CONF['svn_command']			= '###SVNCMD###';
$CONF['svnadmin_command']		= '###SVNADMINCMD###';
$CONF['repo_compatibility']		= '###PRECOMPATIBLE###';
$CONF['grep_command']			= '###GREPCMD###';
$CONF['use_javascript']			= '###USEJS###';

$CONF['SVNAccessFile']			= '###SVNACCESSFILE###';
$CONF['AuthUserFile']			= '###SVNAUTHFILE###';
$CONF['ViewvcConf']				= '###VIEWVCCONF###';
$CONF['ViewvcGroups']			= '###VIEWVCGROUPS###';
# ViewVC Alias in the Apache Webserver without trailing /
$CONF['ViewvcLocation']			= '###VIEWVCLOCATION###';
$CONF['ViewvcApacheReload']		= '###VIEWVCAPACHERELOAD###';
$CONF['ViewvcRealm']			= '###VIEWVCREALM###';
$CONF['createAccessFile']		= '###CREATEACCESSFILE###';
$CONF['createUserFile']			= '###CREATEAUTHFILE###';
$CONF['createViewvcConf']		= '###CREATEVIEWVCCONF###';
$CONF['separateFilesPerRepo']	= '###SEPERATEFILESPERREPO###';
//Limit access control to directories only, change to files if you want to have
//files listed during access rights management too
//Valid values are "dirs" or "files"
$CONF['accessControl']			= '###ACCESSCONTROLLEVEL###';

$CONF['mail_password_warn']		= <<<EOM

Dear %s,

your password for SVN Access Manager is about to expire. Please goto %s, log in and change your password.

Please keep in mind that your account will be locked out automatically if your password was not changed. 

Users are locked out if the password was not changed for %s days!

Kind regrads

SVN Access Manager
Administrator

EOM;

$CONF['mail_user_locked']		= <<<EOM

Dear %s,

you account at SVN Access Manager was locked. You did not change your password for %s days.

You can not access the subversion repositories any more. To get access please log into your account at %s and change your password.

Please give about %s minutes until your account is unlocked and you can access the subversion repositories again.

Kind regards

SVN Access Manager
Administrator

EOM;

//
// END OF CONFIG FILE
//
?>
Return current item: Svn-access-manager