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';
138 // You can turn features on/off sitewide
141 $sys_use_tracker=true;
144 $sys_use_docman=true;
147 $sys_use_survey=true;
152 $sys_use_snippet=false;
154 $sys_use_people=false;
156 $sys_use_private_project=true;
158 $sys_use_bookmarks=true;
159 $sys_use_project_tags=true;
160 $sys_use_project_full_list=true;
162 $sys_use_manual_uploads=false;
164 // This one exists purely for hysteric raisins
165 $sys_use_mwframe=false;
167 // Enable/Disable user ratings
168 $sys_use_ratings=true;
169 // Enable/Disable the ability to upload files using FTP in FRS
170 $sys_use_ftpuploads=false;
171 // Enable/Disable the use of mail gateways for trackers and forums
172 $sys_use_gateways=true;
174 // Enable/Disable the ability to add additionnal vhost for a project
175 $sys_use_project_vhost=false;
176 // Enable/Disable the ability to have database for a project (backend not implemented)
177 $sys_use_project_database=false;
178 // Enable/Disable the ability to add images for a project (frontend not implemented)
179 $sys_use_project_multimedia=false;
182 // Restricted project registration
183 // If set to true, only a site admin can register projects
185 $sys_project_reg_restricted=true;
188 // Auto approve project registration.
190 $sys_project_reg_autoapprove=false;
191 $sys_project_reg_autoapprove_user='admin';
194 // Restricted user registration
195 // If set to true, only a site admin can register users
197 $sys_user_reg_restricted=false;
199 // Require acceptance of terms and conditions
200 $sys_require_accept_conditions=false;
201 // Block anonymous downloads?
202 $sys_block_anonymous_downloads=false;
204 // Groups and Homes dir prefix
206 $homedir_prefix='/home';
207 $groupdir_prefix='/home/groups';
208 $cvsdir_prefix='/cvsroot';
209 $svndir_prefix='/svnroot';
213 // File Upload Configuration
215 // Create a directory, which is writable by your webserver, but not
216 // within its document root (does not fall under www/ in the tarball)
217 // Your php.ini file may have to be modified to allow writing outside
218 // the webserver's directory
220 $sys_upload_dir='/path/to/uploads/';
221 $sys_ftp_upload_dir='/path/to/frs/upload';
222 $sys_ftp_upload_host='upload.gforge.company.com';
223 //$sys_ftp_upload_chowner='{ftpuploadchowner}';
224 $sys_apache_user='www-gforge';
225 $sys_apache_group='www-gforge';
227 // Where the FusionForge files are placed
228 // *** IMPORTANT: sys_urlroot *MUST* be an ABSOLUTE FILEYSTEM PATH NAME
229 // that points to the www directory of the FusionForge
230 // installation. If you use ANY form of relative path
231 // you will break the html_image function in include/html.php
233 $sys_urlroot='/path/to/gforge/www/';
236 // Name of the system as a whole (needed by various utils and titles)
239 // Mailman base installation directory
240 $sys_path_to_mailman='/usr/lib/mailman';
242 // session cookie settings
244 // IMPORTANT - YOU MUST CHANGE "foobar" to a long, random number
246 $sys_session_key = 'foobar';
247 $sys_session_expire = 60 * 60 * 24 * 7;
249 // Require that user give unique (not yet existent in db) email upon
251 $sys_require_unique_email=false;
253 // Require that all email be copied to this address if present
254 $sys_bcc_all_email_address='';
256 // GUI modifications (menu colors, etc.)
257 // See the top of the file include/html.php, this is where the menu colors
258 // and colors used throughout FusionForge are defined.
260 // Themeing related vars... Some of this needs to change in the session stuff
261 // The theme base directory, everything else is handled by theme_sysinit()
262 $sys_themeroot='/path/to/gforge/www/themes/';
263 // If you want an other default theme or language
266 $sys_default_timezone='GMT';
267 $sys_default_country_code='US';
269 // Akamization of images
270 // example: http://images.gforge.company.com
272 $sys_images_secure_url='';
275 // The FusionForge permission model is based on groups
276 // certain parts of the site, like news, stats, etc
277 // are based on special group_id numbers
278 // group_id #1 is the super-user group of sitewide admins
281 $sys_peer_rating_group=4;
282 $sys_template_group=5;
283 $default_trove_cat=18;
286 $sys_path_to_jpgraph='/path/to/jpgraph';
289 // Setting this to 1 will add a "Show Source" link to the bottom of each page
295 // Truetype font settings
296 //$gantt_title_font_family='FF_ARIAL';
297 //$gantt_title_font_style='FS_NORMAL';
298 //$gantt_title_font_size=12;
299 //$gantt_task_font_family='FF_ARIAL';
300 //$gantt_task_font_style='FS_NORMAL';
301 //$gantt_task_font_size=12;
303 // Place for customized files
304 $sys_custom_path=$sys_etc_path.'/custom';
306 // Gettext files (default: /usr/share/locale).
307 $sys_gettext_path=$sys_share_path.'/locales';
309 // Define the type of installation
313 // * production: normal mode.
314 $sys_install_type = 'production';
317 // Plugins configuration
319 // Path to plugins directory
320 $sys_plugins_path="$sys_share_path/plugins/";
322 // You can overwrite FusionForge's default role settings here
323 //$default_roles=array(
324 // 'Admin'=>array( 'projectadmin'=>'A', 'frs'=>'1', 'scm'=>'1', 'docman'=>'1', 'forumadmin'=>'2', 'forum'=>'2', 'trackeradmin'=>'2', 'tracker'=>'2', 'pmadmin'=>'2', 'pm'=>'2', 'webcal'=>'1' ),
325 // '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' ),
326 // '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' ),
327 // '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'),
328 // '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')
331 //bbcode customizations
332 $sys_bbcode_make_clickable=1;
333 $sys_bbcode_smilie_on=1;
334 $sys_bbcode_bbcode_on=1;
335 $sys_bbcode_strip_html=1;
337 // End of customizations -- place nothing after the closing PHP tag!