[Fusionforge-commits] r14695 - trunk/src/www/pm/reporting

Alain Peyrat aljeux at fusionforge.org
Mon Oct 24 14:03:22 CEST 2011


Author: aljeux
Date: 2011-10-24 14:03:22 +0200 (Mon, 24 Oct 2011)
New Revision: 14695

Modified:
   trunk/src/www/pm/reporting/index.php
Log:
Use require_once instead of include_once to load HTML_Graphs.php

Modified: trunk/src/www/pm/reporting/index.php
===================================================================
--- trunk/src/www/pm/reporting/index.php	2011-10-24 12:03:13 UTC (rev 14694)
+++ trunk/src/www/pm/reporting/index.php	2011-10-24 12:03:22 UTC (rev 14695)
@@ -30,7 +30,9 @@
 require_once $gfcommon.'pm/ProjectCategory.class.php';
 require_once $gfwww.'project/stats/project_stats_utils.php';
 require_once $gfwww.'include/tool_reports.php';
+require_once $gfwww.'include/HTML_Graphs.php';
 
+
 if (!session_loggedin()) {
 	exit_not_logged_in();
 }
@@ -75,8 +77,6 @@
 }
 
 
-include_once $gfwww.'include/HTML_Graphs.php';
-
 $what = getStringFromRequest('what');
 if ($what) {
 	$period = getStringFromRequest('period');




More information about the Fusionforge-commits mailing list