mirror of https://github.com/IoTcat/ushio-chat.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
170 B
13 lines
170 B
3 years ago
|
<?php
|
||
|
|
||
|
$redis = new redis();
|
||
|
$redis->connect('redis',6379);
|
||
|
|
||
|
$id = $_GET['id'];
|
||
|
|
||
|
if(!isset($id)) die();
|
||
|
|
||
|
$s = 'chat/'.$id;
|
||
|
|
||
|
$redis->set($s, (int)(microtime(true)*1000));
|