function dynamic_cache_test_boot in Dynamic Cache 6
Same name and namespace in other branches
- 7 dynamic_cache_test.module \dynamic_cache_test_boot()
Implements hook_boot().
File
- ./
dynamic_cache_test.module, line 12 - Dynamic Cache Test module.
Code
function dynamic_cache_test_boot() {
if (empty($GLOBALS['conf']['cache'])) {
$GLOBALS['conf']['cache_original'] = 0;
}
else {
$GLOBALS['conf']['cache_original'] = $GLOBALS['conf']['cache'];
}
if (dynamic_cache_test_is_dynamic()) {
$GLOBALS['conf']['cache'] = CACHE_DISABLED;
}
}