[Fusionforge-commits] r8474 - trunk/gforge/www

Alain Peyrat aljeux at libremir.placard.fr.eu.org
Tue Dec 8 13:26:41 CET 2009


Author: aljeux
Date: 2009-12-08 13:26:41 +0100 (Tue, 08 Dec 2009)
New Revision: 8474

Modified:
   trunk/gforge/www/env.inc.php
Log:
Change order in php include_path, place . before fixed paths

Modified: trunk/gforge/www/env.inc.php
===================================================================
--- trunk/gforge/www/env.inc.php	2009-12-08 12:26:36 UTC (rev 8473)
+++ trunk/gforge/www/env.inc.php	2009-12-08 12:26:41 UTC (rev 8474)
@@ -10,9 +10,10 @@
 // Attempt to set up the include path, to fix problems with relative includes
 $fusionforge_basedir = dirname(dirname( __FILE__ )) ;
 $include_path = join(PATH_SEPARATOR, 
-	array("/etc/gforge/custom", "/etc/gforge", "$fusionforge_basedir/common", "$fusionforge_basedir/www",
+	array("/etc/gforge/custom", "/etc/gforge", ".", 
+		"$fusionforge_basedir/common", "$fusionforge_basedir/www",
 		"$fusionforge_basedir/plugins", "$fusionforge_basedir",
-		".", "/usr/share/php"));
+		"/usr/share/php"));
 
 // By default, the include_path is changed to include path needed by Gforge.
 // If this does not work, then set defines to real path directly.




More information about the Fusionforge-commits mailing list