Index: temp/trunk/html/admin/total/index.php
===================================================================
--- temp/trunk/html/admin/total/index.php	(revision 7235)
+++ temp/trunk/html/admin/total/index.php	(revision 7236)
@@ -48,7 +48,8 @@
 lfSaveDateSession();
 
-define(SAVE_FILE , true);
-if($_GET['print_graph']){
-	define(SAVE_FILE , false);
+if($_GET['draw_image'] != ""){
+	define(DRAW_IMAGE , true);
+}else{
+	define(DRAW_IMAGE , false);
 }
 
@@ -485,9 +486,9 @@
 		$objGraphBar->drawGraph();
 		
-		if(SAVE_FILE){
-			$objGraphBar->outputGraph(false,$path);
-		}else{
+		if(DRAW_IMAGE){
 			$objGraphBar->outputGraph();
 			exit();
+		}else{
+			$objGraphBar->outputGraph(false,$path);
 		}
 		
