// don't try to clear smarty cache if smarty is not defined