[Vtigercrm-commits] [vtiger-commits] r4030 - /vtigercrm/trunk/modules/Dashboard/display_charts.php

vtigercrm-commits at vtiger.fosslabs.com vtigercrm-commits at vtiger.fosslabs.com
Wed Mar 1 08:23:40 EST 2006


Author: saraj
Date: Wed Mar  1 06:23:37 2006
New Revision: 4030

Log:
bug fixed in cachefile name issue

Modified:
    vtigercrm/trunk/modules/Dashboard/display_charts.php

Modified: vtigercrm/trunk/modules/Dashboard/display_charts.php
==============================================================================
--- vtigercrm/trunk/modules/Dashboard/display_charts.php (original)
+++ vtigercrm/trunk/modules/Dashboard/display_charts.php Wed Mar  1 06:23:37 2006
@@ -348,6 +348,14 @@
 {
 
 	//Checks whether the cached image is present or not
+	if(file_exists($cahce_file_name)
+	{
+		unlink($cache_file_name);
+	}
+	if(file_exists($cache_file_name.'.map')
+	{
+		unlink($cache_file_name.'.map');
+	}	
 	if (!file_exists($cache_file_name) || !file_exists($cache_file_name.'.map')) 
 	{
 		//If the Cached image is not present





More information about the vtigercrm-commits mailing list