[evolvis-commits] r17673: fusionforge svn r14736

mirabilos at evolvis.org mirabilos at evolvis.org
Mon Oct 31 15:44:28 CET 2011


Author: mirabilos
Date: 2011-10-31 15:44:28 +0100 (Mon, 31 Oct 2011)
New Revision: 17673

Modified:
   trunk/gforge_base/evolvisforge-5.1/src/common/include/FusionForge.class.php
Log:
fusionforge svn r14736


Modified: trunk/gforge_base/evolvisforge-5.1/src/common/include/FusionForge.class.php
===================================================================
--- trunk/gforge_base/evolvisforge-5.1/src/common/include/FusionForge.class.php	2011-10-31 14:44:23 UTC (rev 17672)
+++ trunk/gforge_base/evolvisforge-5.1/src/common/include/FusionForge.class.php	2011-10-31 14:44:28 UTC (rev 17673)
@@ -23,6 +23,9 @@
 
 require_once $gfcommon.'include/Error.class.php';
 
+// Some variables are overridden if installed from a package
+ at include_once $gfcommon.'pkginfo.inc.php';
+
 class FusionForge extends Error {
 
 	var $software_name ;
@@ -33,11 +36,10 @@
 	 *	FusionForge - FusionForge object constructor
 	 */
 	function FusionForge() {
+		global $forge_pkg_name, $forge_pkg_version, $forge_pkg_type;
+
 		$this->Error();
 
-		// Some variables are overridden if installed from a package
-		@include_once $gfcommon.'pkginfo.inc.php';
-
 		if (isset($forge_pkg_name)) {
 			$this->software_name = $forge_pkg_name;
 		} else {



More information about the evolvis-commits mailing list