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 that hosts CVS
37 $sys_cvs_host = "cvs.gforge.company.com";
39 // Force the use of a single cvs host instead of cvs.project.domain.com
40 // Set to 1 to use cvs.domain.com:/cvsroot/project for all projects
41 // Set to 0 to use cvs.project.domain.com:/cvsroot/project
42 $sys_cvs_single_host = 1;
44 // Machine used for downloading sources/packages
45 $sys_download_host = "download.gforge.company.com";
47 // Machine used for uploading sources/packages
48 $sys_upload_host = "upload.gforge.company.com";
50 // Machine(s) that host users' shell accounts
51 // N.B. to the SourceForge Crew: What's the difference between the user
52 // host and the shell host? They are clearly two different hostnames
53 // in the source code, but they seem to serve the same purpose..?
54 $sys_shell_host = "shell.gforge.company.com";
55 $sys_users_host = "users.gforge.company.com";
57 // Machine that hosts docs (such as the FAQs and the various software
58 // licenses (*BSD, [L]GPL, etc.). You REALLY want this to be the same
59 // machine that the GForge code is running on because all of the
60 // PHP makes reference to these documents in terms of relative paths that
61 // are part of the GForge code tree.
62 $sys_docs_host = "gfdocs.gforge.company.com";
64 // Machine that hosts the GForge mailing lists (This could also be
65 // the mail host if you have enough horsepower & bandwidth)
66 $sys_lists_host = "lists.gforge.company.com";
68 // Domain Name Servers
69 // N.B.: Use terminated FQDNs here (with the final ".") so the resolver
70 // doesn't attempt to recurse in the case of a slightly broken DNS
72 $sys_dns1_host = "ns1.gforge.company.com";
73 $sys_dns2_host = "ns2.gforge.company.com";
75 //Databases, html/php/other paths
76 //server to use for updates and reads
77 //If this is null (i.e. ""), then gforge will use Unix sockets to connect
79 $sys_dbhost="localhost";
80 //whether or not to use replication
81 $sys_db_use_replication=false;
82 $sys_dbreadhost='localhost';
83 $sys_dbreaddb='stats';
84 $sys_dbname="alexandria";
86 // You can also specify a database port if you're using something other than 5432
100 // 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";
126 // Groups and Homes dir prefix
128 $homedir_prefix="/home";
129 $groupdir_prefix="/home/groups";
132 // File Upload Configuration
134 // Create a directory, which is writable by your webserver, but not
135 // within its document root (does not fall under www/ in the tarball)
136 // Your php.ini file may have to be modified to allow writing outside
137 // the webserver's directory
139 $sys_upload_dir='/path/to/uploads/';
141 // Where the GForge files are placed
142 // *** IMPORTANT: sys_urlroot *MUST* be an ABSOLUTE FILEYSTEM PATH NAME
143 // that points to the www directory of the GForge
144 // installation. If you use ANY form of relative path
145 // you will break the html_image function in include/html.php
147 $sys_urlroot="/path/to/gforge/www/";
149 // Name of the system as a whole (needed by various utils and titles)
152 // session cookie settings
154 // IMPORTANT - YOU MUST CHANGE "foobar" to a long, random number
156 $sys_session_key = "foobar";
157 $sys_session_expire = 60 * 60 * 24 * 7;
159 // Require that user give unique (not yet existent in db) email upon
161 $sys_require_unique_email=0;
163 // GUI modifications (menu colors, etc.)
164 // See the top of the file include/html.php, this is where the menu colors
165 // and colors used throughout GForge are defined.
167 // Themeing related vars... Some of this needs to change in the session stuff
168 // The theme base directory, everything else is handled by theme_sysinit()
169 $sys_themeroot=$sys_urlroot."themes/";
170 // If you want an other default theme or language
174 // Akamization of images
175 // example: http://images.gforge.company.com
176 $sys_images_url = "";
177 $sys_images_secure_url = "";
180 // The GForge permission model is based on groups
181 // certain parts of the site, like news, stats, etc
182 // are based on special group_id numbers
183 // group_id #1 is the super-user group of sitewide admins
186 $sys_peer_rating_group=4;
187 $default_trove_cat=18;
190 $sys_path_to_jpgraph='/path/to/jpgraph/src/';
193 $sys_path_to_cvsweb='/path/to/cvsweb';
196 // Setting this to 1 will add a "Show Source" link to the bottom of each page
202 // Truetype font settings
203 //$gantt_title_font_family="FF_ARIAL";
204 //$gantt_title_font_style="FS_NORMAL";
205 //$gantt_title_font_size=12;
206 //$gantt_task_font_family="FF_ARIAL";
207 //$gantt_task_font_style="FS_NORMAL";
208 //$gantt_task_font_size=12;
210 // End of customizations -- place nothing after the closing PHP tag!