You are here

function advagg_sri_advagg_build_aggregate_plans_alter in Advanced CSS/JS Aggregation 7.2

Implements hook_advagg_build_aggregate_plans_alter().

Related topics

File

advagg_sri/advagg_sri.advagg.inc, line 88
Advanced aggregation sri module.

Code

function advagg_sri_advagg_build_aggregate_plans_alter() {
  if (module_exists('httprl') && variable_get('advagg_use_httprl', ADVAGG_USE_HTTPRL) && variable_get('advagg_sri_file_generation', ADVAGG_SRI_FILE_GENERATION)) {
    $GLOBALS['conf']['advagg_use_httprl'] = FALSE;
  }
}