function advagg_advagg_disable_processor in Advanced CSS/JS Aggregation 6
Same name and namespace in other branches
- 7 advagg.module \advagg_advagg_disable_processor()
Implementation of hook_advagg_disable_processor().
File
- ./
advagg.module, line 667 - 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/settings/advagg' || $_GET['q'] == 'admin/settings/advagg/config' || $_GET['q'] == 'batch')) {
return TRUE;
}
}