+2004-04-16 Christian Bayle <bayle@debian.org>
+ * Test if Theme.class is really there, keep the default of local.inc if
+ not in User.class
+ * Remove test about the presence of /etc/gforge/custom/pre.php in
+ pre.php. Customized pre.php can be loaded by adding a path in apache
+ * Manage a sys_custom_path for gforge customization
+
+2004-04-15 Christian Bayle <bayle@debian.org>
+
+ * Reordered country code by country name and not by country code
+ (closes bug #762)
+ * Replace squal_pre.php with pre.php in ./www/frs/download.php
+ ./www/snippet/download.php ./www/tracker/download.php
+ * utils/fill-in-the-blanks.pl can use more than one conf file
+
2004-04-14 Guillaume Smet <guillaume-gforge@smet.org>
* fixed a bug in new cronjob cvs.php. Modes must be in octal.
-gforge (3.3.0-2woody8) stable; urgency=low
+gforge (3.3.0-3woody3) stable; urgency=low
* [Christian] Added new sql upgrade (2004*.sql)
* [Christian] Stable backbort
gforge upstream bug #751)
* [Christian] Adjust cvs_dump rights
- -- Christian Bayle <bayle@debian.org> Fri, 2 Apr 2004 22:48:49 +0200
+ -- Christian Bayle <bayle@debian.org> Fri, 16 Apr 2004 09:25:59 +0200
gforge (3.2.1-4) experimental; urgency=low
sys_path_to_cvsweb=/path/to/cvsweb
gforge_chroot=
gforge_etc=/etc
+sys_custom_path=/path/to/gforge/etc/custom
groupdir=/home/groups
homedir=/home
uploaddir=/path/to/uploads/
sys_theme=gforge
sys_default_theme_id=1
sys_lang=English
+sys_default_timezone=GMT
+sys_default_country_code=US
sys_use_ldap=0
sys_use_jabber=0
sys_use_auth_ldap=1
AllowOverride All
order allow,deny
allow from all
- php_admin_value include_path "/path/to/gforge:/path/to/gforge/www/include:."
+ php_admin_value include_path "/path/to/gforge/etc/custom:/path/to/gforge:/path/to/gforge/www/include:."
php_admin_value default_charset "UTF-8"
</Directory>
AllowOverride All
order allow,deny
allow from all
- php_admin_value include_path "/path/to/gforge:/path/to/gforge/www/include:."
+ php_admin_value include_path "/path/to/gforge/etc/custom:/path/to/gforge:/path/to/gforge/www/include:."
php_admin_value default_charset "UTF-8"
</Directory>
AllowOverride All
order allow,deny
allow from all
- php_admin_value include_path "{usr_share_gforge}:{usr_share_gforge}/www/include:."
+ php_admin_value include_path "{sys_custom_path}:{usr_share_gforge}:{usr_share_gforge}/www/include:."
php_admin_value default_charset "UTF-8"
</Directory>
AllowOverride All
order allow,deny
allow from all
- php_admin_value include_path "{usr_share_gforge}:{usr_share_gforge}/www/include:."
+ php_admin_value include_path "{sys_custom_path}:{usr_share_gforge}:{usr_share_gforge}/www/include:."
php_admin_value default_charset "UTF-8"
</Directory>
//$gantt_task_font_family="FF_ARIAL";
//$gantt_task_font_style="FS_NORMAL";
//$gantt_task_font_size=12;
+
+// Place for customized files
+$sys_custom_path='{sys_custom_path}';
+
//$gantt_task_font_style="FS_NORMAL";
//$gantt_task_font_size=12;
+// Place for customized files
+$sys_custom_path='/path/to/gforge/etc/custom';
+
+
//
// Localization caching Configuration
//
DEFAULTsys_path_to_cvsweb=/usr/lib/gforge/bin/
DEFAULTgforge_chroot=$CHROOT
DEFAULTgforge_etc=$ETCDIR
+ DEFAULTsys_custom_path=$ETCDIR/custom
DEFAULTgroupdir=$GROUPPATH
DEFAULThomedir=$HOMEPATH
DEFAULTuploaddir=$GFGDIR/var/lib/gforge/download/
echo "Creating $HTTPDSECRETS"
cat $ETCDIR/httpd.secrets.gforge-new > $HTTPDSECRETS
rm $ETCDIR/httpd.secrets.gforge-new
+ chmod 600 $HTTPDSECRETS
echo "Creating $LOCALINC"
for i in $ETCDIR/local.d/01* $ETCDIR/local.d/10database.$database $ETCDIR/local.d/[2-9]*
rm $ETCDIR/01* $ETCDIR/10database.$database $ETCDIR/[2-9]*
echo "Creating other includes"
- for i in $ETCDIR/templates/database.inc $ETCDIR/templates/local.pl
+ #for i in $ETCDIR/templates/[a-z]*
+ find $ETCDIR/templates -name '[a-z]*' -maxdepth 1 -type f | while read i
do
$BINDIR/fill-in-the-blanks.pl $i $ETCDIR/`basename $i` $CONFFILEOUT
done
function Layout() {
GLOBAL $bgpri;
// Constructor for parent class...
- if ( file_exists('/etc/gforge/custom/index_std.php') )
- $this->rootindex = '/etc/gforge/custom/index_std.php';
+ if ( file_exists($GLOBALS['sys_custom_path'] . '/index_std.php') )
+ $this->rootindex = $GLOBALS['sys_custom_path'] . '/index_std.php';
$this->Error();
/*