[Fusionforge-commits] r9061 - in trunk/gforge: common/include www/include

Roland Mas lolando at libremir.placard.fr.eu.org
Mon Mar 15 14:02:52 CET 2010


Author: lolando
Date: 2010-03-15 14:02:52 +0100 (Mon, 15 Mar 2010)
New Revision: 9061

Modified:
   trunk/gforge/common/include/config.php
   trunk/gforge/www/include/pre.php
Log:
Renamed define_config_item() to fusionforge_define_config_item()

Modified: trunk/gforge/common/include/config.php
===================================================================
--- trunk/gforge/common/include/config.php	2010-03-15 13:02:41 UTC (rev 9060)
+++ trunk/gforge/common/include/config.php	2010-03-15 13:02:52 UTC (rev 9061)
@@ -37,7 +37,7 @@
 	return $fusionforge_config[$section][$var] ;
 }
 
-function define_config_item ($section, $var, $default) {
+function fusionforge_define_config_item ($section, $var, $default) {
 	global $fusionforge_config ;
 
 	if (!isset ($fusionforge_config[$section])) {

Modified: trunk/gforge/www/include/pre.php
===================================================================
--- trunk/gforge/www/include/pre.php	2010-03-15 13:02:41 UTC (rev 9060)
+++ trunk/gforge/www/include/pre.php	2010-03-15 13:02:52 UTC (rev 9061)
@@ -33,8 +33,8 @@
 
 require $gfcgfile;
 require $gfcommon.'include/config.php';
-define_config_item ('core', 'forge_name', $GLOBALS['sys_name']) ;
-define_config_itme ('core', 'user_registration_restricted', $GLOBALS['sys_user_reg_restricted']) ;
+fusionforge_define_config_item ('core', 'forge_name', $GLOBALS['sys_name']) ;
+fusionforge_define_config_item ('core', 'user_registration_restricted', $GLOBALS['sys_user_reg_restricted']) ;
 read_config ($gfconfig.'/fusionforge.ini') ;
 
 // get constants used for flags or status




More information about the Fusionforge-commits mailing list