2 // PLEASE DO NOT REMOVE THIS LINE
4 // FusionForge Universal Site Modifications
5 // by David HM Spector <spector@zeitgeist.com>
7 // FusionForge global paths
9 $sys_etc_path='/etc/gforge';
10 $sys_share_path='/opt/gforge';
11 $sys_var_path='/var/lib/gforge';
14 // FusionForge hostnames
16 // Hostnames should be fully qualified domain names (FQDNs); using short names
17 // would be prettier but would stop you from distributing your implementation
18 // across multiple domains.
20 // Of course, if you have a lot of machines serving a particular purpose
21 // such as FTP or for shell accounts, the "hostname" here might be in
22 // reality an addr_list of machines that is serviced by a round-robin
23 // mechanism or something fancy like a local-director.
25 // The default FusionForge domain
26 // this is used where ever the "naked" form of the FusionForge domain
27 // might be used. E.g., "mailto:admin@gforge.net"
28 $sys_default_domain = 'gforge.company.com';
29 $sys_forum_return_domain = "gforge.company.com";
30 //$sys_fallback_domain = 'gforge2.company.com';
32 // Machine used for downloading sources/packages
33 $sys_download_host = 'download.gforge.company.com';
35 // Machine(s) that host users' shell accounts
36 // N.B. to the SourceForge Crew: What's the difference between the user
37 // host and the shell host? They are clearly two different hostnames
38 // in the source code, but they seem to serve the same purpose..?
39 $sys_shell_host = 'shell.gforge.company.com';
40 $sys_users_host = 'users.gforge.company.com';
42 // Machine that hosts the FusionForge mailing lists (This could also be
43 // the mail host if you have enough horsepower & bandwidth)
44 $sys_lists_host = 'lists.gforge.company.com';
50 // Machine that hosts SCM
51 $sys_scm_host = 'cvs.gforge.company.com';
52 $sys_cvs_host=$sys_scm_host;
54 // Force the use of a single scm host instead of scm.project.domain.com
55 // Set to 1 to use scm.domain.com for all projects
56 // Set to 0 to use scm.project.domain.com
57 $sys_scm_single_host = 1;
59 // Path to tarballs directory
60 $sys_scm_tarballs_path="$sys_var_path/scmtarballs";
62 // Path to snapshots directory
63 $sys_scm_snapshots_path="$sys_var_path/scmsnapshots";
66 $sys_path_to_scmweb="$sys_share_path/bin/";
68 //Databases, html/php/other paths
69 //server to use for updates and reads
70 //If this is null (i.e. ""), then gforge will use Unix sockets to connect
73 $sys_dbname='alexandria';
75 // You can also specify a database port if you're using something other than 5432
89 // UNIX for classic account management
90 // LDAP for managing with ldap
91 // NIS not implemented
92 $sys_account_manager_type='UNIX';
94 // email address to send admin alerts to
95 $sys_admin_email = 'gforge@gforge.company.com';
97 // Path to sendmail program
98 $sys_sendmail_path='/usr/sbin/sendmail';
100 // Select unix_password cipher
101 // Normally there will be no reason to change this for Linux based systems
102 // Valid choices are MD5, DES, Blowfish, or Plain
103 // DO NOT CHANGE ON EXISTING INSTALL!!!
105 // If using usergroup_wrapper.php (for non-Linux systems)
106 // this value MUST be plain
107 $unix_cipher = 'MD5';
110 // LDAP configuration
112 // enable(1) or disable(0) ldap use altogether
113 $sys_ldap_host='ldap.gforge.company.com';
116 // this is dn under which all information stored
117 $sys_ldap_base_dn='dc=gforge,dc=company,dc=com';
118 // and this, how we do access it (add permission required)
119 $sys_ldap_bind_dn='cn=SF_robot,dc=gforge,dc=company,dc=com';
120 // admin dn - login dn which has permissions to delete entries
121 // NOT used by web code, only by support utilities
122 // note that password NOT stored here
123 $sys_ldap_admin_dn='cn=admin,dc=gforge,dc=company,dc=com';
126 // Jabber Configuration
129 //messages from the system will be sent to this address
130 $sys_jabber_server='jabber.gforge.company.com';
131 $sys_jabber_port='5222';
132 // messages sent to jabber accounts will come from this user
133 // It is similar to the "From: noreply@gforge.org" used in emails
134 $sys_jabber_user='noreply';
135 if (!isset($sys_jabber_pass)) {
140 // You can turn features on/off sitewide
143 $sys_use_tracker=true;
146 $sys_use_docman=true;
149 $sys_use_survey=true;
154 $sys_use_snippet=false;
156 $sys_use_people=false;
158 $sys_use_private_project=true;
160 $sys_use_bookmarks=true;
161 $sys_use_project_tags=true;
162 $sys_use_project_full_list=true;
165 // This one exists purely for hysteric raisins
166 $sys_use_mwframe=false;
168 // Enable/Disable user ratings
169 $sys_use_ratings=true;
170 // Enable/Disable the ability to upload files using FTP in FRS
171 $sys_use_ftpuploads=false;
172 // Enable/Disable the ability to upload files using SCP/SFTP in FRS
173 $sys_use_manual_uploads=false;
174 // Enable/Disable the use of mail gateways for trackers and forums
175 $sys_use_gateways=true;
177 // Enable/Disable the ability to add additionnal vhost for a project
178 $sys_use_project_vhost=false;
179 // Enable/Disable the ability to have database for a project (backend not implemented)
180 $sys_use_project_database=false;
181 // Enable/Disable the ability to add images for a project (frontend not implemented)
182 $sys_use_project_multimedia=false;
185 // Restricted project registration
186 // If set to true, only a site admin can register projects
188 $sys_project_reg_restricted=true;
191 // Auto approve project registration.
193 $sys_project_reg_autoapprove=false;
194 $sys_project_reg_autoapprove_user='admin';
197 // Restricted user registration
198 // If set to true, only a site admin can register users
200 $sys_user_reg_restricted=false;
202 // Require acceptance of terms and conditions
203 $sys_require_accept_conditions=false;
204 // Block anonymous downloads?
205 $sys_block_anonymous_downloads=false;
207 // Groups and Homes dir prefix
209 $homedir_prefix='/home';
210 $groupdir_prefix='/home/groups';
211 $cvsdir_prefix='/cvsroot';
212 $svndir_prefix='/svnroot';
216 // File Upload Configuration
218 // Create a directory, which is writable by your webserver, but not
219 // within its document root (does not fall under www/ in the tarball)
220 // Your php.ini file may have to be modified to allow writing outside
221 // the webserver's directory
223 $sys_upload_dir='/path/to/uploads/';
224 $sys_ftp_upload_dir='/path/to/frs/upload';
225 $sys_ftp_upload_host='upload.gforge.company.com';
226 //$sys_ftp_upload_chowner='{ftpuploadchowner}';
227 $sys_apache_user='www-gforge';
228 $sys_apache_group='www-gforge';
230 // Where the FusionForge files are placed
231 // *** IMPORTANT: sys_urlroot *MUST* be an ABSOLUTE FILEYSTEM PATH NAME
232 // that points to the www directory of the FusionForge
233 // installation. If you use ANY form of relative path
234 // you will break the html_image function in include/html.php
236 $sys_urlroot='/path/to/gforge/www/';
239 // Name of the system as a whole (needed by various utils and titles)
242 // Mailman base installation directory
243 $sys_path_to_mailman='/usr/lib/mailman';
245 // session cookie settings
247 // IMPORTANT - YOU MUST CHANGE "foobar" to a long, random number
249 $sys_session_key = 'foobar';
250 $sys_session_expire = 60 * 60 * 24 * 7;
252 // Require that user give unique (not yet existent in db) email upon
254 $sys_require_unique_email=false;
256 // Require that all email be copied to this address if present
257 $sys_bcc_all_email_address='';
259 // GUI modifications (menu colors, etc.)
260 // See the top of the file include/html.php, this is where the menu colors
261 // and colors used throughout FusionForge are defined.
263 // Themeing related vars... Some of this needs to change in the session stuff
264 // The theme base directory, everything else is handled by theme_sysinit()
265 $sys_themeroot='/path/to/gforge/www/themes/';
266 // If you want an other default theme or language
269 $sys_default_timezone='GMT';
270 $sys_default_country_code='US';
272 // Akamization of images
273 // example: http://images.gforge.company.com
275 $sys_images_secure_url='';
278 // The FusionForge permission model is based on groups
279 // certain parts of the site, like news, stats, etc
280 // are based on special group_id numbers
281 // group_id #1 is the super-user group of sitewide admins
284 $sys_peer_rating_group=4;
285 $sys_template_group=5;
286 $default_trove_cat=18;
289 $sys_path_to_jpgraph='/path/to/jpgraph';
292 // Setting this to 1 will add a "Show Source" link to the bottom of each page
298 // Truetype font settings
299 //$gantt_title_font_family='FF_ARIAL';
300 //$gantt_title_font_style='FS_NORMAL';
301 //$gantt_title_font_size=12;
302 //$gantt_task_font_family='FF_ARIAL';
303 //$gantt_task_font_style='FS_NORMAL';
304 //$gantt_task_font_size=12;
306 // Place for customized files
307 $sys_custom_path=$sys_etc_path.'/custom';
309 // Gettext files (default: /usr/share/locale).
310 $sys_gettext_path=$sys_share_path.'/locales';
312 // Define the type of installation
316 // * production: normal mode.
317 $sys_install_type = 'production';
320 // Plugins configuration
322 // Path to plugins directory
323 $sys_plugins_path="$sys_share_path/plugins/";
325 // You can overwrite FusionForge's default role settings here
326 //$default_roles=array(
327 // 'Admin'=>array( 'projectadmin'=>'A', 'frs'=>'1', 'scm'=>'1', 'docman'=>'1', 'forumadmin'=>'2', 'forum'=>'2', 'trackeradmin'=>'2', 'tracker'=>'2', 'pmadmin'=>'2', 'pm'=>'2', 'webcal'=>'1' ),
328 // 'Senior Developer'=>array( 'projectadmin'=>'0', 'frs'=>'1', 'scm'=>'1', 'docman'=>'1', 'forumadmin'=>'2', 'forum'=>'2', 'trackeradmin'=>'2', 'tracker'=>'2', 'pmadmin'=>'2', 'pm'=>'2', 'webcal'=>'2' ),
329 // 'Junior Developer'=>array( 'projectadmin'=>'0', 'frs'=>'0', 'scm'=>'1', 'docman'=>'0', 'forumadmin'=>'0', 'forum'=>'1', 'trackeradmin'=>'0', 'tracker'=>'1', 'pmadmin'=>'0', 'pm'=>'1', 'webcal'=>'2' ),
330 // 'Doc Writer'=>array( 'projectadmin'=>'0', 'frs'=>'0', 'scm'=>'0', 'docman'=>'1', 'forumadmin'=>'0', 'forum'=>'1', 'trackeradmin'=>'0', 'tracker'=>'0', 'pmadmin'=>'0', 'pm'=>'0' , 'webcal'=>'2'),
331 // 'Support Tech'=>array( 'projectadmin'=>'0', 'frs'=>'0', 'scm'=>'0', 'docman'=>'1', 'forumadmin'=>'0', 'forum'=>'1', 'trackeradmin'=>'0', 'tracker'=>'2', 'pmadmin'=>'0', 'pm'=>'0' , 'webcal'=>'2')