Install
Works with Drupal: 7.xUsing dev releases is not recommended, except for testing.
Using Composer to manage Drupal site dependencies
Downloads
Download tar.gz
8.14 KB
MD5: fa4d6b12a0cfe6b790dabe5d29c7fbf9
SHA-1: de0f156c6409061922bcf09e0a3848a339d87b64
SHA-256: eaaa5431e8fa23e1ea5a237b7cf1a54f1bd8801505be956bf42912c8f38f17d8
Download zip
9.35 KB
MD5: 790033d4db464435f37cd44d3fd89808
SHA-1: 499c64804becc6ba4b3822668aade134e25388ed
SHA-256: 09b22889392025a525d83f2a3ecb1ba9ab32782316c9cdc727f59c6c3e926eb7
Release notes
Support for Domain Access module
<?php
/**
* Callback function for boost cache cleaner.
*/
function boost_cache_cleaner_callback() {
// Check if user has access to this function.
if (!user_is_anonymous()) {
if (module_exists('domain')) {
global $base_root;
foreach (domain_domains() as $domain) {
if (isset($domain['path'])) {
$base_root = $domain['path'];
boost_flush_caches();
}
}
} else {
boost_flush_caches();
}
}
}
?>