Magento Clean Cache through PHP : Code for cleaning the magento cache via php is as follows
$app = Mage::app(); if ($app != null) { $cache = $app->getCache(); if ($cache != null) { $cache->clean(); } }
Updated 10 October 2012
Magento Clean Cache through PHP : Code for cleaning the magento cache via php is as follows
$app = Mage::app(); if ($app != null) { $cache = $app->getCache(); if ($cache != null) { $cache->clean(); } }
Be the first to comment.