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

Christian Bayle cbayle at libremir.placard.fr.eu.org
Wed Apr 21 22:20:51 CEST 2010


Author: cbayle
Date: 2010-04-21 22:20:51 +0200 (Wed, 21 Apr 2010)
New Revision: 9570

Modified:
   trunk/gforge/common/include/config-vars.php
   trunk/gforge/www/include/pre.php
Log:
Fix themes_root config var


Modified: trunk/gforge/common/include/config-vars.php
===================================================================
--- trunk/gforge/common/include/config-vars.php	2010-04-21 18:48:58 UTC (rev 9569)
+++ trunk/gforge/common/include/config-vars.php	2010-04-21 20:20:51 UTC (rev 9570)
@@ -27,6 +27,7 @@
 forge_define_config_item ('web_host', 'core', $GLOBALS['sys_default_domain']) ;
 forge_define_config_item ('scm_tarballs_path', 'core', $GLOBALS['sys_scm_tarballs_path']) ;
 forge_define_config_item ('scm_snapshots_path', 'core', $GLOBALS['sys_scm_snapshots_path']) ;
+forge_define_config_item ('themes_root', 'core', $GLOBALS['sys_themeroot']) ;
 forge_define_config_item ('default_theme', 'core', $GLOBALS['sys_theme']) ;
 forge_define_config_item ('default_language', 'core', $GLOBALS['sys_lang']) ;
 forge_define_config_item ('default_timezone', 'core', $GLOBALS['sys_default_timezone']) ;

Modified: trunk/gforge/www/include/pre.php
===================================================================
--- trunk/gforge/www/include/pre.php	2010-04-21 18:48:58 UTC (rev 9569)
+++ trunk/gforge/www/include/pre.php	2010-04-21 20:20:51 UTC (rev 9570)
@@ -144,7 +144,7 @@
 //
 //	Include user Theme
 //
-require_once forge_get_config('theme_root').forge_get_config('default_theme').'/Theme.class.php';
+require_once forge_get_config('themes_root').forge_get_config('default_theme').'/Theme.class.php';
 
 $HTML=new Theme();
 




More information about the Fusionforge-commits mailing list