summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--boost.install8
1 files changed, 8 insertions, 0 deletions
diff --git a/boost.install b/boost.install
index 03c759d..b901dd5 100644
--- a/boost.install
+++ b/boost.install
@@ -151,6 +151,14 @@ function boost_requirements($phase) {
'value' => $t('Boost crawler did not get a 200 response.'),
);
}
+ if (!BOOST_ENABLED) {
+ $requirements['boost_is_enabled'] = array(
+ 'title' => $t('Boost'),
+ 'description' => $t('Boost is disabled. <a href="@performance">Enable</a> it.', array('@performance' => url('admin/settings/performance'))),
+ 'severity' => REQUIREMENT_WARNING,
+ 'value' => $t('Boost Disabled'),
+ );
+ }
if (empty($requirements)) {
$requirements['boost'] = array(
'title' => $t('Boost'),