first import
This commit is contained in:
22
sites/all/modules/agrcache/agrcache.install
Normal file
22
sites/all/modules/agrcache/agrcache.install
Normal file
@@ -0,0 +1,22 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* @file
|
||||
* Schema, install and update functions for agrcache module.
|
||||
*/
|
||||
|
||||
/**
|
||||
* Implements hook_requirements().
|
||||
*/
|
||||
function agrcache_requirements($phase) {
|
||||
$t = get_t();
|
||||
$requirements = array();
|
||||
if (!variable_get('clean_url', 0)) {
|
||||
$requirements['agrcache_clean_url'] = array(
|
||||
'title' => $t('Clean urls'),
|
||||
'value' => $t('Aggregate cache requires clean URLs to be enabled in order to serve aggregates.'),
|
||||
'severity' => REQUIREMENT_WARNING,
|
||||
);
|
||||
}
|
||||
return $requirements;
|
||||
}
|
Reference in New Issue
Block a user