Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on May 8th, 2012  |  syntax: None  |  size: 0.32 KB  |  hits: 16  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. In a html-file:
  2. <?=link_tag_cachebusting("metalmatze/css/wysiwyg.css");?>
  3.  
  4. In application/helpers/MY_html_helper.php
  5.  
  6. if (!function_exists('link_tag_cachebusting')) {
  7.         function link_tag_cachebusting($href = '', $cachebusting = TRUE) {
  8.                 $CI = &get_instance();
  9.                 $CI->load->helper('html');
  10.                 return link_tags($href);
  11.         }
  12. }