[evolvis-commits] r9119: removing eval() security holes↵
mirabilos at evolvis.org
mirabilos at evolvis.org
Thu Feb 24 17:18:47 CET 2011
Author: mirabilos
Date: 2011-02-24 17:18:47 +0100 (Thu, 24 Feb 2011)
New Revision: 9119
Modified:
trunk/gforge_base/evolvisforge-5.1/gforge/www/pm/gantt.php
Log:
removing eval() security holes
Modified: trunk/gforge_base/evolvisforge-5.1/gforge/www/pm/gantt.php
===================================================================
--- trunk/gforge_base/evolvisforge-5.1/gforge/www/pm/gantt.php 2011-02-24 16:18:45 UTC (rev 9118)
+++ trunk/gforge_base/evolvisforge-5.1/gforge/www/pm/gantt.php 2011-02-24 16:18:47 UTC (rev 9119)
@@ -99,8 +99,8 @@
$activity[$i]->progress->Set( (( $pt_arr[$i]->getPercentComplete() ) ? ($pt_arr[$i]->getPercentComplete()/100) : 0));
$activity[$i]->progress->SetPattern(BAND_RDIAG, "blue");
- global $sys_gantt_task_font_family,$sys_gantt_task_font_style,$sys_gantt_task_font_size;
- settitlefont($activity[$i],$sys_gantt_title_font_family,$sys_gantt_title_font_style,$sys_gantt_title_font_size);
+// global $sys_gantt_task_font_family,$sys_gantt_task_font_style,$sys_gantt_task_font_size;
+// settitlefont($activity[$i],$sys_gantt_title_font_family,$sys_gantt_title_font_style,$sys_gantt_title_font_size);
// Finally add the bar to the graph
$graph->Add( $activity[$i] );
}
@@ -114,9 +114,4 @@
// Display the Gantt chart
$graph->Stroke();
-// Local Variables:
-// mode: php
-// c-file-style: "bsd"
-// End:
-
?>
More information about the evolvis-commits
mailing list