function MobileDetectCache::__construct in Mobile Detect 7
Constructs a DrupalDatabaseCache object.
Parameters
$bin: The cache bin for which the object is created.
Overrides DrupalDatabaseCache::__construct
File
- mobile_detect_caching/
mobile_detect_caching.inc, line 24 - Cache backend include for the mobile_detect_caching module.
Class
- MobileDetectCache
- Defines a Mobile Detect cache implementation.
Code
function __construct($bin) {
include_once DRUPAL_ROOT . '/' . variable_get('mobile_detect_library', 'sites/all/libraries/Mobile_Detect/Mobile_Detect.php');
parent::__construct($bin);
}