[Fusionforge-commits] r9386 - trunk/gforge/www/include

Roland Mas lolando at libremir.placard.fr.eu.org
Tue Apr 6 19:05:53 CEST 2010


Author: lolando
Date: 2010-04-06 19:05:53 +0200 (Tue, 06 Apr 2010)
New Revision: 9386

Modified:
   trunk/gforge/www/include/pre.php
Log:
Fixed definitions for config variables [#115]

Modified: trunk/gforge/www/include/pre.php
===================================================================
--- trunk/gforge/www/include/pre.php	2010-04-06 17:03:58 UTC (rev 9385)
+++ trunk/gforge/www/include/pre.php	2010-04-06 17:05:53 UTC (rev 9386)
@@ -34,13 +34,13 @@
 require $gfcgfile;
 require $gfcommon.'include/config.php';
 
-forge_define_config_item ('core', 'forge_name', $GLOBALS['sys_name']) ;
-forge_define_config_item ('core', 'user_registration_restricted', $GLOBALS['sys_user_reg_restricted']) ;
+forge_define_config_item ('forge_name', 'core', $GLOBALS['sys_name']) ;
+forge_define_config_item ('user_registration_restricted', 'core', $GLOBALS['sys_user_reg_restricted']) ;
 /* Long-term:
  require_once $gfcommon.'include/FusionForge.class.php';
  $forge = new FusionForge() ;
- forge_define_config_item ('core', 'forge_name', $forge->software_name) ;
- forge_define_config_item ('core', 'user_registration_restricted', false) ;
+ forge_define_config_item ('forge_name', 'core', $forge->software_name) ;
+ forge_define_config_item ('user_registration_restricted', 'core', false) ;
 */
 forge_read_config_file ($gfconfig.'/config.ini') ;
 




More information about the Fusionforge-commits mailing list