[Fusionforge-commits] r14054 - in trunk/src/plugins/scmcpold/etc: . plugins/scmcpold

Christian Bayle cbayle at fusionforge.org
Wed Aug 3 09:57:57 CEST 2011


Author: cbayle
Date: 2011-08-03 09:57:56 +0200 (Wed, 03 Aug 2011)
New Revision: 14054

Added:
   trunk/src/plugins/scmcpold/etc/scmcpold.ini
Modified:
   trunk/src/plugins/scmcpold/etc/plugins/scmcpold/config.php
Log:
Bugfix:  remove glogals


Modified: trunk/src/plugins/scmcpold/etc/plugins/scmcpold/config.php
===================================================================
--- trunk/src/plugins/scmcpold/etc/plugins/scmcpold/config.php	2011-08-02 17:56:26 UTC (rev 14053)
+++ trunk/src/plugins/scmcpold/etc/plugins/scmcpold/config.php	2011-08-03 07:57:56 UTC (rev 14054)
@@ -1,7 +1,7 @@
 <?php
 
-$default_cpold_server = $GLOBALS['sys_scm_host'];
-// $cpold_root = $GLOBALS['sys_chroot'].'/scmrepos/cpold' ;
+$default_cpold_server = forge_get_config('scm_host');
+// $cpold_root = forge_get_config('chroot').'/scmrepos/cpold' ;
 
 // Local Variables:
 // mode: php

Added: trunk/src/plugins/scmcpold/etc/scmcpold.ini
===================================================================
--- trunk/src/plugins/scmcpold/etc/scmcpold.ini	                        (rev 0)
+++ trunk/src/plugins/scmcpold/etc/scmcpold.ini	2011-08-03 07:57:56 UTC (rev 14054)
@@ -0,0 +1,11 @@
+[scmcpold] 
+
+; Current scmcpold is not ready for production.
+; plugin_status is a string.
+; valid means : production ready.
+; Any other strings means it's under work or broken and plugin  
+; is available in installation_environment = development only.
+plugin_status = "development"
+
+default_server = "$core/web_host"
+repos_path = "$core/chroot/scmrepos/cpold"




More information about the Fusionforge-commits mailing list