[Fusionforge-commits] r12404 - trunk/src

Christian Bayle cbayle at fusionforge.org
Sun Feb 27 19:43:41 CET 2011


Author: cbayle
Date: 2011-02-27 19:43:41 +0100 (Sun, 27 Feb 2011)
New Revision: 12404

Modified:
   trunk/src/fusionforge-install-2.php
Log:
Remove use of local.inc


Modified: trunk/src/fusionforge-install-2.php
===================================================================
--- trunk/src/fusionforge-install-2.php	2011-02-27 17:59:15 UTC (rev 12403)
+++ trunk/src/fusionforge-install-2.php	2011-02-27 18:43:41 UTC (rev 12404)
@@ -285,13 +285,13 @@
 	#file_put_contents('/etc/gforge/local.inc', $content);
 
 	# Set jpgraph path.
-	if (is_dir("/usr/share/jpgraph")) {
-		system("perl -spi -e \"s!^(.sys_path_to_jpgraph)=.*!\\$1='/usr/share/jpgraph';!\" /etc/gforge/local.inc");
-		system("perl -spi -e \"s!//(.gantt_title_font_family)='FF_ARIAL';!\\$1='FF_LIBERATION_SANS';!\" /etc/gforge/local.inc");
-		system("perl -spi -e \"s!//(.gantt_title_font_style=.*)!\\$1!\" /etc/gforge/local.inc");
-		system("perl -spi -e \"s!//(.gantt_title_font_size=.*)!\\$1!\" /etc/gforge/local.inc");
-		system("perl -spi -e \"s!//(.gantt_task_font_family)='FF_ARIAL';!\\$1='FF_LIBERATION_SANS';!\" /etc/gforge/local.inc");
-		#system("perl -spi -e \"s!//(.gantt_task_font_style=.*)!\\$1!\" /etc/gforge/local.inc");
-		#system("perl -spi -e \"s!//(.gantt_task_font_size=.*)!\\$1!\" /etc/gforge/local.inc");
-	}
+	#if (is_dir("/usr/share/jpgraph")) {
+	#	system("perl -spi -e \"s!^(.sys_path_to_jpgraph)=.*!\\$1='/usr/share/jpgraph';!\" /etc/gforge/local.inc");
+	#	system("perl -spi -e \"s!//(.gantt_title_font_family)='FF_ARIAL';!\\$1='FF_LIBERATION_SANS';!\" /etc/gforge/local.inc");
+	#	system("perl -spi -e \"s!//(.gantt_title_font_style=.*)!\\$1!\" /etc/gforge/local.inc");
+	#	system("perl -spi -e \"s!//(.gantt_title_font_size=.*)!\\$1!\" /etc/gforge/local.inc");
+	#	system("perl -spi -e \"s!//(.gantt_task_font_family)='FF_ARIAL';!\\$1='FF_LIBERATION_SANS';!\" /etc/gforge/local.inc");
+	#	system("perl -spi -e \"s!//(.gantt_task_font_style=.*)!\\$1!\" /etc/gforge/local.inc");
+	#	system("perl -spi -e \"s!//(.gantt_task_font_size=.*)!\\$1!\" /etc/gforge/local.inc");
+	#}
 	print "\n";




More information about the Fusionforge-commits mailing list