public function __construct($conf = false)
{
$this->conf = $conf ? $conf : Config::get('default_cache');
if (!extension_loaded('redis')) {
throw new PhpExtendNotInstall(Lang::get('_CACHE_EXTEND_NOT_INSTALL_', 'Redis'));
}
}
Redis::__construct ( bool|array $conf = false ) |