You are here

function advagg_js_compress_init in Advanced CSS/JS Aggregation 7

Same name and namespace in other branches
  1. 6 advagg_js_compress/advagg_js_compress.module \advagg_js_compress_init()

Implements hook_init().

File

advagg_js_compress/advagg_js_compress.module, line 83
Advanced CSS/JS aggregation js compression module.

Code

function advagg_js_compress_init() {
  global $conf;
  if (variable_get('advagg_js_compress_packer_enable', ADVAGG_JS_COMPRESS_PACKER_ENABLE)) {
    $conf['advagg_file_save_function'] = 'advagg_js_compress_file_saver';
  }
}