diff --git a/minifyhtml.module b/minifyhtml.module index 60a93583fb379f8d12d2c93fe1d2dd8e38cba745..f8e1ad7810951cf656856e7109beca6401022bf9 100644 --- a/minifyhtml.module +++ b/minifyhtml.module @@ -159,6 +159,13 @@ function minifyhtml_module_implements_alter(&$implementations, $hook) { $group = $implementations['minifyhtml']; unset($implementations['minifyhtml']); $implementations['minifyhtml'] = $group; + + // Put boost_exit() (if exists) after minifyhtml_exit(). + if (isset($implementations['boost'])) { + $group = $implementations['boost']; + unset($implementations['boost']); + $implementations['boost'] = $group; + } } }