2 // PLEASE DO NOT REMOVE THIS LINE
4 // GForge Universal Site Modifications
5 // by David HM Spector <spector@zeitgeist.com>
7 // Really Important Safety Tip: --> DO NOT LEAVE ANY WHITE
8 // SPACE AFTER THE CLOSING PHP TAG AT THE END OF THIS FILE!
10 // Doing so will really confuse the software and cause
11 // 1) cookies to fail and 2) HTML page headers to fail
12 // which will give you some preally hard-to-debug problems.
13 // Why? PHP is a *pre-processor* -- anything that's not PHP gets
14 // emitted as part of the HTML stream and processed by the browser,
15 // so white space is meaningful!
20 // Hostnames should be fully qualified domain names (FQDNs); using short names
21 // would be prettier but would stop you from distributing your SourceForge
22 // implementation across multiple domains.
24 // Of course, if you have a lot of machines serving a particular purpose
25 // such as FTP or for shell accounts, the "hostname" here might be in
26 // reality an addr_list of machines that is serviced by a round-robin
27 // mechanism or something fancy like a local-director.
29 // The default GForge domain
30 // this is used where ever the "naked" form of the GForge domain
31 // might be used. E.g., "mailto:admin@gforge.net"
32 $sys_default_domain = 'gforge.company.com';
33 $sys_forum_return_domain = "gforge.company.com";
34 //$sys_fallback_domain = 'gforge2.company.com';
36 // Machine used for downloading sources/packages
37 $sys_download_host = 'download.gforge.company.com';
39 // Machine(s) that host users' shell accounts
40 // N.B. to the SourceForge Crew: What's the difference between the user
41 // host and the shell host? They are clearly two different hostnames
42 // in the source code, but they seem to serve the same purpose..?
43 $sys_shell_host = 'shell.gforge.company.com';
44 $sys_users_host = 'users.gforge.company.com';
46 // Machine that hosts the GForge mailing lists (This could also be
47 // the mail host if you have enough horsepower & bandwidth)
48 $sys_lists_host = 'lists.gforge.company.com';
54 // Machine that hosts SCM
55 $sys_scm_host = 'cvs.gforge.company.com';
56 $sys_cvs_host=$sys_scm_host;
58 // Force the use of a single scm host instead of scm.project.domain.com
59 // Set to 1 to use scm.domain.com for all projects
60 // Set to 0 to use scm.project.domain.com
61 $sys_scm_single_host = 1;
63 // Path to tarballs directory
64 $sys_scm_tarballs_path='/path/to/var/lib/gforge/scmtarballs';
66 // Path to snapshots directory
67 $sys_scm_snapshots_path='/path/to/var/lib/gforge/scmsnapshots';
70 $sys_path_to_scmweb='/usr/lib/gforge/bin/';
73 //Databases, html/php/other paths
74 //server to use for updates and reads
75 //If this is null (i.e. ""), then gforge will use Unix sockets to connect
78 $sys_dbname='alexandria';
80 // You can also specify a database port if you're using something other than 5432
93 // UNIX for classic account management
94 // LDAP for managing with ldap
95 // NIS not implemented
96 $sys_account_manager_type='UNIX';
101 // enable(1) or disable(0) ldap use altogether
102 $sys_ldap_host='ldap.gforge.company.com';
105 // this is dn under which all information stored
106 $sys_ldap_base_dn='dc=gforge,dc=company,dc=com';
107 // and this, how we do access it (add permission required)
108 $sys_ldap_bind_dn='cn=SF_robot,dc=gforge,dc=company,dc=com';
109 // admin dn - login dn which has permissions to delete entries
110 // NOT used by web code, only by support utilities
111 // note that password NOT stored here
112 $sys_ldap_admin_dn='cn=admin,dc=gforge,dc=company,dc=com';
115 // Jabber Configuration
118 //messages from the system will be sent to this address
119 $sys_jabber_server='jabber.gforge.company.com';
120 $sys_jabber_port='5222';
121 // messages sent to jabber accounts will come from this user
122 // It is similar to the "From: noreply@gforge.org" used in emails
123 $sys_jabber_user='noreply';
127 // You can turn features on/off sitewide
130 $sys_use_tracker=true;
133 $sys_use_docman=true;
136 $sys_use_survey=true;
141 $sys_use_snippet=true;
143 $sys_use_people=true;
146 // Enable/Disable user ratings
147 $sys_use_ratings=true;
148 // Enable/Disable the ability to upload files using FTP in FRS
149 $sys_use_ftpuploads=false;
150 // Enable/Disable the use of mail gateways for trackers and forums
151 $sys_use_gateways=true;
153 // Enable/Disable the ability to add additionnal vhost for a project
154 $sys_use_project_vhost=true;
155 // Enable/Disable the ability to have database for a project (backend not implemented)
156 $sys_use_project_database=false;
157 // Enable/Disable the ability to add images for a project (frontend not implemented)
158 $sys_use_project_multimedia=false;
161 // Restricted project registration
162 // If set to true, only a site admin can register projects
164 $sys_project_reg_restricted=true;
166 // Restricted user registration
167 // If set to true, only a site admin can register users
169 $sys_user_reg_restricted=false;
172 // Groups and Homes dir prefix
174 $homedir_prefix='/home';
175 $groupdir_prefix='/home/groups';
176 $cvsdir_prefix='/cvsroot';
177 $svndir_prefix='/svnroot';
181 // File Upload Configuration
183 // Create a directory, which is writable by your webserver, but not
184 // within its document root (does not fall under www/ in the tarball)
185 // Your php.ini file may have to be modified to allow writing outside
186 // the webserver's directory
188 $sys_upload_dir='/path/to/uploads/';
189 $sys_ftp_upload_dir='/path/to/frs/upload';
190 $sys_ftp_upload_host='upload.gforge.company.com';
191 //$sys_ftp_upload_chowner='{ftpuploadchowner}';
192 $sys_apache_user='www-gforge';
193 $sys_apache_group='www-gforge';
195 // Where the GForge files are placed
196 // *** IMPORTANT: sys_urlroot *MUST* be an ABSOLUTE FILEYSTEM PATH NAME
197 // that points to the www directory of the GForge
198 // installation. If you use ANY form of relative path
199 // you will break the html_image function in include/html.php
201 $sys_urlroot='/path/to/gforge/www/';
203 // Name of the system as a whole (needed by various utils and titles)
204 $sys_name='MyGForge';
206 // Mailman base installation directory
207 $sys_path_to_mailman='/usr/lib/mailman';
209 // session cookie settings
211 // IMPORTANT - YOU MUST CHANGE "foobar" to a long, random number
213 $sys_session_key = 'foobar';
214 $sys_session_expire = 60 * 60 * 24 * 7;
216 // Require that user give unique (not yet existent in db) email upon
218 $sys_require_unique_email=0;
220 // Require that all email be copied to this address if present
221 $sys_bcc_all_email_address='';
223 // GUI modifications (menu colors, etc.)
224 // See the top of the file include/html.php, this is where the menu colors
225 // and colors used throughout GForge are defined.
227 // Themeing related vars... Some of this needs to change in the session stuff
228 // The theme base directory, everything else is handled by theme_sysinit()
229 $sys_themeroot='/path/to/gforge/www/themes/';
230 // If you want an other default theme or language
233 $sys_default_timezone='GMT';
234 $sys_default_country_code='US';
236 // Akamization of images
237 // example: http://images.gforge.company.com
239 $sys_images_secure_url='';
242 // The GForge permission model is based on groups
243 // certain parts of the site, like news, stats, etc
244 // are based on special group_id numbers
245 // group_id #1 is the super-user group of sitewide admins
248 $sys_peer_rating_group=4;
249 $sys_template_group=5;
250 $default_trove_cat=18;
253 $sys_path_to_jpgraph='/path/to/jpgraph';
256 // Setting this to 1 will add a "Show Source" link to the bottom of each page
262 // Truetype font settings
263 //$gantt_title_font_family='FF_ARIAL';
264 //$gantt_title_font_style='FS_NORMAL';
265 //$gantt_title_font_size=12;
266 //$gantt_task_font_family='FF_ARIAL';
267 //$gantt_task_font_style='FS_NORMAL';
268 //$gantt_task_font_size=12;
270 // Place for customized files
271 $sys_custom_path='/path/to/gforge/etc/custom';
275 // Localization caching Configuration
278 // Enable localization caching system
279 $sys_localization_enable_caching = true;
281 // Create a directory, which is writable by your webserver, but not
282 // within its document root (does not fall under www/ in the tarball)
283 // Your php.ini file may have to be modified to allow writing outside
284 // the webserver's directory
285 $sys_localization_cache_path = '/path/to/localization/cache/';
287 // Enable timestamp checking (if disabled, you have to remove manually cache files on update)
288 $sys_localization_enable_timestamp_checking = true;
290 // Plugins configuration
292 // Path to plugins directory
293 $sys_plugins_path='/usr/lib/gforge/plugins/';
295 $sys_bbcode_make_clickable=1; //bbcode customizations
296 $sys_bbcode_smilie_on=1;
297 $sys_bbcode_bbcode_on=1;
298 $sys_bbcode_strip_html=0;
300 // End of customizations -- place nothing after the closing PHP tag!