UDT to clear cache


/ Published in: Smarty
Save to your folder(s)

UDT to clear cache


Copy this code and paste it in your HTML
  1. {
  2. global $gCms;
  3. $contentops =& $gCms->GetContentOperations();
  4. $contentops->ClearCache();
  5. // $message .= lang('cachecleared');
  6. }

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.