PHP script to clear cache in Joomla 3.x