소스 검색

- New cache management for the lifecycle graphs

git-svn-id: http://svn.code.sf.net/p/itop/code/trunk@160 a333f486-631f-4898-b8df-5754b55c2be0
dflaven 16 년 전
부모
커밋
7f8fc52854
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      pages/graphviz.php

+ 2 - 2
pages/graphviz.php

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