imagecache_coloractions.install 427 B

123456789101112
  1. <?php
  2. /**
  3. * Create an .htaccess file in image style directories that have a change format
  4. * image effect to enforce the correct Content-Type header for the derivative
  5. * images.
  6. */
  7. function imagecache_coloractions_update_7101(&$sandbox) {
  8. module_load_include('module', 'image');
  9. include_once dirname(__FILE__) . '/imagecache_coloractions.htaccess_creator.inc';
  10. imagecache_coloractions_create_htaccess_all_styles();
  11. }