|
|
@@ -29,9 +29,9 @@ class History extends Common
|
|
|
}
|
|
|
$redisconfig = require(APP_PATH . DS . 'redis.php');
|
|
|
$redis = new Redis($redisconfig);
|
|
|
- $redis->set('debub',date('Y-m-d H:i:s'));
|
|
|
- $d = $redis->bet('debub');
|
|
|
- echo $d;
|
|
|
+ $redis->handler()->set('debub',date('Y-m-d H:i:s'));
|
|
|
+ $d = $redis->handler()->get('debub');
|
|
|
+ echo $d;
|
|
|
|
|
|
exit ;
|
|
|
|