<?php
// PLEASE DO NOT REMOVE THIS LINE
-// GForge Universal Site Modifications
+// FusionForge Universal Site Modifications
// by David HM Spector <spector@zeitgeist.com>
//
-// Really Important Safety Tip: --> DO NOT LEAVE ANY WHITE
-// SPACE AFTER THE CLOSING PHP TAG AT THE END OF THIS FILE!
+// FusionForge global paths
//
-// Doing so will really confuse the software and cause
-// 1) cookies to fail and 2) HTML page headers to fail
-// which will give you some preally hard-to-debug problems.
-// Why? PHP is a *pre-processor* -- anything that's not PHP gets
-// emitted as part of the HTML stream and processed by the browser,
-// so white space is meaningful!
+$sys_etc_path='/etc/gforge';
+$sys_opt_path='/opt/gforge';
+$sys_var_path='/var/lib/gforge';
+
+//
+// FusionForge database type
//
+//$sys_database_type='mysql';
+$sys_database_type='pgsql';
+
//
-// GForge hostnames
+// FusionForge hostnames
//
// Hostnames should be fully qualified domain names (FQDNs); using short names
// would be prettier but would stop you from distributing your SourceForge
// Machine that hosts the GForge mailing lists (This could also be
// the mail host if you have enough horsepower & bandwidth)
-$sys_lists_host = 'lists.gforge.company.com';
+$sys_lists_host = 'gforge.company.com';
//
// SCM configuration
$sys_scm_single_host = 1;
// Path to tarballs directory
-$sys_scm_tarballs_path='/path/to/var/lib/gforge/scmtarballs';
+$sys_scm_tarballs_path="$sys_var_path/scmtarballs";
// Path to snapshots directory
-$sys_scm_snapshots_path='/path/to/var/lib/gforge/scmsnapshots';
+$sys_scm_snapshots_path="$sys_var_path/scmsnapshots";
// Path to SCMWEB
-$sys_path_to_scmweb='/usr/lib/gforge/bin/';
-
+$sys_path_to_scmweb="$sys_opt_path/bin/";
//Databases, html/php/other paths
//server to use for updates and reads
$sys_dbpasswd='';
$sys_ldap_passwd='';
$sys_jabber_pass='';
+
//
// Account Management
//
// NIS not implemented
$sys_account_manager_type='UNIX';
+// email address to send admin alerts to
+$sys_admin_email = 'gforge@gforge.company.com';
+
+// Path to sendmail program
+$sys_sendmail_path='/usr/sbin/sendmail';
+
+// Select unix_password cipher
+// Normally there will be no reason to change this for Linux based systems
+// Valid choices are MD5, DES, Blowfish, or Plain
+// DO NOT CHANGE ON EXISTING INSTALL!!!
+
+// If using usergroup_wrapper.php (for non-Linux systems)
+// this value MUST be plain
+$unix_cipher = 'MD5';
+
//
// LDAP configuration
//
$sys_use_ssl=false;
$sys_use_people=true;
$sys_use_shell=true;
+$sys_use_private_project=true;
+$sys_use_diary=true;
+$sys_use_bookmarks=true;
// Enable/Disable user ratings
$sys_use_ratings=true;
//
$homedir_prefix='/home';
$groupdir_prefix='/home/groups';
+
+//
+// SCM directory prefixes
+//
+//$cvsdir_prefix='$sys_var_path/cvsroot';
+//$svndir_prefix="$sys_var_path/svnroot";
$cvsdir_prefix='/cvsroot';
$svndir_prefix='/svnroot';
+
$sys_chroot='';
//
// Your php.ini file may have to be modified to allow writing outside
// the webserver's directory
//
-$sys_upload_dir='/path/to/uploads/';
+$sys_upload_dir="$sys_var_path/uploads/";
$sys_ftp_upload_dir='/path/to/frs/upload';
$sys_ftp_upload_host='upload.gforge.company.com';
-//$sys_ftp_upload_chowner='{ftpuploadchowner}';
-$sys_apache_user='www-gforge';
-$sys_apache_group='www-gforge';
+$sys_apache_user='apacheuser';
+$sys_apache_group='apachegroup';
// Where the GForge files are placed
// *** IMPORTANT: sys_urlroot *MUST* be an ABSOLUTE FILEYSTEM PATH NAME
// installation. If you use ANY form of relative path
// you will break the html_image function in include/html.php
//
-$sys_urlroot='/path/to/gforge/www/';
+$sys_urlroot="$sys_opt_path/www/";
+$sys_urlprefix="";
// Name of the system as a whole (needed by various utils and titles)
-$sys_name='MyGForge';
+$sys_name='MyForge';
// Mailman base installation directory
$sys_path_to_mailman='/usr/lib/mailman';
// Themeing related vars... Some of this needs to change in the session stuff
// The theme base directory, everything else is handled by theme_sysinit()
-$sys_themeroot='/path/to/gforge/www/themes/';
+$sys_themeroot="$sys_opt_path/www/themes/";
// If you want an other default theme or language
$sys_theme='gforge';
$sys_lang='English';
// certain parts of the site, like news, stats, etc
// are based on special group_id numbers
// group_id #1 is the super-user group of sitewide admins
-$sys_news_group=3;
$sys_stats_group=2;
+$sys_news_group=3;
$sys_peer_rating_group=4;
$sys_template_group=5;
$default_trove_cat=18;
// JPGRAPH Package
-$sys_path_to_jpgraph='/path/to/jpgraph';
+$sys_path_to_jpgraph=$sys_opt_path.'/jpgraph';
// Show Source
// Setting this to 1 will add a "Show Source" link to the bottom of each page
//$gantt_task_font_size=12;
// Place for customized files
-$sys_custom_path='/path/to/gforge/etc/custom';
-
+$sys_custom_path=$sys_etc_path.'/custom';
-//
-// Localization caching Configuration
-//
-
-// Enable localization caching system
-$sys_localization_enable_caching = true;
-
-// Create a directory, which is writable by your webserver, but not
-// within its document root (does not fall under www/ in the tarball)
-// Your php.ini file may have to be modified to allow writing outside
-// the webserver's directory
-$sys_localization_cache_path = '/path/to/localization/cache/';
+// Gettext files (default: /usr/share/locale).
+$sys_gettext_path=$sys_opt_path.'/locales';
-// Enable timestamp checking (if disabled, you have to remove manually cache files on update)
-$sys_localization_enable_timestamp_checking = true;
//
// Plugins configuration
//
// Path to plugins directory
-$sys_plugins_path='/usr/lib/gforge/plugins/';
-
-$sys_bbcode_make_clickable=1; //bbcode customizations
-$sys_bbcode_smilie_on=1;
-$sys_bbcode_bbcode_on=1;
-$sys_bbcode_strip_html=0;
-
-// email address to send admin alerts to
-$sys_admin_email = 'gforge@my.domain';
-
+$sys_plugins_path="$sys_opt_path/plugins/";
-// End of customizations -- place nothing after the closing PHP tag!
-?>
+// End of customizations -- place nothing after this line