You are here

function advagg_advagg_disable_processor in Advanced CSS/JS Aggregation 7

Same name and namespace in other branches
  1. 6 advagg.module \advagg_advagg_disable_processor()

Implements hook_advagg_disable_processor().

File

./advagg.module, line 756
Advanced CSS/JS aggregation module

Code

function advagg_advagg_disable_processor() {

  // Disable advagg on the configuration page; in case something bad happened.
  if (isset($_GET['q']) && ($_GET['q'] == 'admin/config/advagg' || $_GET['q'] == 'admin/config/advagg/config' || $_GET['q'] == 'batch')) {
    return TRUE;
  }
}