You are here

function advagg_update_7216 in Advanced CSS/JS Aggregation 7.2

Update .htaccess to support brotli compression (br).

File

./advagg.install, line 744
Handles Advanced Aggregation installation and upgrade tasks.

Code

function advagg_update_7216(&$sandbox) {
  if ($GLOBALS['base_path'] !== '/') {
    return advagg_install_update_htaccess('', 'ErrorDocument 404');
  }
}