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_fallback_domain = "gforge2.company.com";
34 //$sys_internal_network = '192.168.1.';
36 // Machine used for downloading sources/packages
37 $sys_download_host = "download.gforge.company.com";
39 // Machine used for uploading sources/packages
40 $sys_upload_host = "upload.gforge.company.com";
42 // Machine(s) that host users' shell accounts
43 // N.B. to the SourceForge Crew: What's the difference between the user
44 // host and the shell host? They are clearly two different hostnames
45 // in the source code, but they seem to serve the same purpose..?
46 $sys_shell_host = "shell.gforge.company.com";
47 $sys_users_host = "users.gforge.company.com";
49 // Machine that hosts docs (such as the FAQs and the various software
50 // licenses (*BSD, [L]GPL, etc.). You REALLY want this to be the same
51 // machine that the GForge code is running on because all of the
52 // PHP makes reference to these documents in terms of relative paths that
53 // are part of the GForge code tree.
54 $sys_docs_host = "gfdocs.gforge.company.com";
56 // Machine that hosts the GForge mailing lists (This could also be
57 // the mail host if you have enough horsepower & bandwidth)
58 $sys_lists_host = "lists.gforge.company.com";
60 // Domain Name Servers
61 // N.B.: Use terminated FQDNs here (with the final ".") so the resolver
62 // doesn't attempt to recurse in the case of a slightly broken DNS
64 $sys_dns1_host = "ns1.gforge.company.com";
65 $sys_dns2_host = "ns2.gforge.company.com";
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
72 $sys_dbhost="localhost";
73 //whether or not to use replication
74 $sys_db_use_replication=false;
75 $sys_dbreadhost='localhost';
76 $sys_dbreaddb='stats';
77 $sys_dbname="alexandria";
79 // You can also specify a database port if you're using something other than 5432
92 // UNIX for classic account management
93 // LDAP for managing with ldap
94 // NIS not implemented
95 $sys_account_manager_type='UNIX';
100 // enable(1) or disable(0) ldap use altogether
101 $sys_ldap_host="ldap.gforge.company.com";
104 // this is dn under which all information stored
105 $sys_ldap_base_dn="dc=gforge,dc=company,dc=com";
106 // and this, how we do access it (add permission required)
107 $sys_ldap_bind_dn="cn=SF_robot,dc=gforge,dc=company,dc=com";
108 // admin dn - login dn which has permissions to delete entries
109 // NOT used by web code, only by support utilities
110 // note that password NOT stored here
111 $sys_ldap_admin_dn="cn=admin,dc=gforge,dc=company,dc=com";
114 // Jabber Configuration
117 //messages from the system will be sent to this address
118 $sys_jabber_server="jabber.gforge.company.com";
119 $sys_jabber_port="5222";
120 // messages sent to jabber accounts will come from this user
121 // It is similar to the "From: noreply@gforge.org" used in emails
122 $sys_jabber_user="noreply";
126 // You can turn features on/off sitewide
129 $sys_use_tracker=true;
132 $sys_use_docman=true;
135 $sys_use_survey=true;
139 $sys_use_snippet=true;
141 $sys_use_people=true;
143 // Enable/Disable the ability to add additionnal vhost for a project
144 $sys_use_project_vhost=true;
145 // Enable/Disable the ability to have database for a project (backend not implemented)
146 $sys_use_project_database=false;
147 // Enable/Disable the ability to add images for a project (frontend not implemented)
148 $sys_use_project_multimedia=false;
151 // Restricted project registration
152 // If set to true, only a site admin can register projects
154 $sys_project_reg_restricted=true;
157 // Groups and Homes dir prefix
159 $homedir_prefix="/home";
160 $groupdir_prefix="/home/groups";
164 // File Upload Configuration
166 // Create a directory, which is writable by your webserver, but not
167 // within its document root (does not fall under www/ in the tarball)
168 // Your php.ini file may have to be modified to allow writing outside
169 // the webserver's directory
171 $sys_upload_dir='/path/to/uploads/';
173 // Where the GForge files are placed
174 // *** IMPORTANT: sys_urlroot *MUST* be an ABSOLUTE FILEYSTEM PATH NAME
175 // that points to the www directory of the GForge
176 // installation. If you use ANY form of relative path
177 // you will break the html_image function in include/html.php
179 $sys_urlroot="/path/to/gforge/www/";
181 // Name of the system as a whole (needed by various utils and titles)
182 $sys_name="MyGForge";
184 // session cookie settings
186 // IMPORTANT - YOU MUST CHANGE "foobar" to a long, random number
188 $sys_session_key = "foobar";
189 $sys_session_expire = 60 * 60 * 24 * 7;
191 // Require that user give unique (not yet existent in db) email upon
193 $sys_require_unique_email=0;
195 // GUI modifications (menu colors, etc.)
196 // See the top of the file include/html.php, this is where the menu colors
197 // and colors used throughout GForge are defined.
199 // Themeing related vars... Some of this needs to change in the session stuff
200 // The theme base directory, everything else is handled by theme_sysinit()
201 $sys_themeroot=$sys_urlroot."themes/";
202 // If you want an other default theme or language
204 $sys_default_theme_id=1;
206 $sys_default_timezone='GMT';
207 $sys_default_country_code='US';
209 // Akamization of images
210 // example: http://images.gforge.company.com
211 $sys_images_url="http://gforge.company.com/";
212 $sys_images_secure_url="https://gforge.company.com/";
215 // The GForge permission model is based on groups
216 // certain parts of the site, like news, stats, etc
217 // are based on special group_id numbers
218 // group_id #1 is the super-user group of sitewide admins
221 $sys_peer_rating_group=4;
222 $default_trove_cat=18;
225 $sys_path_to_jpgraph='/path/to/jpgraph';
228 // Setting this to 1 will add a "Show Source" link to the bottom of each page
234 // Truetype font settings
235 //$gantt_title_font_family="FF_ARIAL";
236 //$gantt_title_font_style="FS_NORMAL";
237 //$gantt_title_font_size=12;
238 //$gantt_task_font_family="FF_ARIAL";
239 //$gantt_task_font_style="FS_NORMAL";
240 //$gantt_task_font_size=12;
242 // Place for customized files
243 $sys_custom_path='/path/to/gforge/etc/custom';
247 // Localization caching Configuration
250 // Enable localization caching system
251 $sys_localization_enable_caching = true;
253 // Create a directory, which is writable by your webserver, but not
254 // within its document root (does not fall under www/ in the tarball)
255 // Your php.ini file may have to be modified to allow writing outside
256 // the webserver's directory
257 $sys_localization_cache_path = '/path/to/localization/cache/';
259 // Enable timestamp checking (if disabled, you have to remove manually cache files on update)
260 $sys_localization_enable_timestamp_checking = true;
262 // Plugins configuration
264 // Path to plugins directory
265 $sys_plugins_path='/usr/lib/gforge/plugins/';
267 // End of customizations -- place nothing after the closing PHP tag!