[Fusionforge-commits] r12656 - trunk/tests/func

Christian Bayle cbayle at fusionforge.org
Thu Mar 10 17:13:57 CET 2011


Author: cbayle
Date: 2011-03-10 17:13:56 +0100 (Thu, 10 Mar 2011)
New Revision: 12656

Modified:
   trunk/tests/func/db_reload.php
Log:
Guess opt 


Modified: trunk/tests/func/db_reload.php
===================================================================
--- trunk/tests/func/db_reload.php	2011-03-10 16:13:46 UTC (rev 12655)
+++ trunk/tests/func/db_reload.php	2011-03-10 16:13:56 UTC (rev 12656)
@@ -73,8 +73,11 @@
 	if (!file_exists($forge_root)) {
 		$forge_root = '/usr/share/gforge';
 		if (!file_exists($forge_root)) {
-			print "ERROR: Unable to guess location of fusionforge main directory (gforge), aborting.\n";
-			exit(1);
+			$forge_root = '/opt/gforge';
+			if (!file_exists($forge_root)) {
+				print "ERROR: Unable to guess location of fusionforge main directory (gforge), aborting.\n";
+				exit(1);
+			}
 		}
 	}
 }




More information about the Fusionforge-commits mailing list