Thursday, October 10, 2013

Script for to remove the cache

make one cache-clear.php file into your root folder and paste following code:
  require_once (“app/Mage.php”); 
 umask(0); 
 Mage::run(); 
 Mage::app()->getCache()->clean(); 
 exit(“done”); 
 ?> 
can call that file with :http://yourdomainname/cache-clear.php

No comments:

Post a Comment

Please mention your comments.......