Преглед на файлове

Fixed wrong file path for the graphs (lifecyle), could not work but on a Windows platform

git-svn-id: http://svn.code.sf.net/p/itop/code/trunk@166 a333f486-631f-4898-b8df-5754b55c2be0
romainq преди 15 години
родител
ревизия
58cf5a94c6
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      pages/graphviz.php

+ 1 - 1
pages/graphviz.php

@@ -65,7 +65,7 @@ function GraphvizLifecycle($sClass)
 
 $sClass = utils::ReadParam('class', 'bizIncidentTicket');
 $sDir = dirname(__FILE__);
-$sImageFilePath = $sDir."\\..\\images\\lifecycle\\".$sClass.".png";
+$sImageFilePath = $sDir."/../images/lifecycle/".$sClass.".png";
 if (file_exists("/iTop/Graphviz/bin/dot.exe"))
 {
 	// create the file with Graphviz