mirror of
https://github.com/gamaio/lobli.git
synced 2024-12-23 04:02:40 +00:00
Fix the date outputtoday's date
This commit is contained in:
parent
39baade2e4
commit
a2baa09376
@ -48,7 +48,7 @@
|
|||||||
$redis->set("llinks:$link", $short);
|
$redis->set("llinks:$link", $short);
|
||||||
$redis->rpush("links:$short", $link);
|
$redis->rpush("links:$short", $link);
|
||||||
$redis->rpush("links:$short", $title);
|
$redis->rpush("links:$short", $title);
|
||||||
$redis->rpush("links:$short", date("d/m/Y", strtotime($str)));
|
$redis->rpush("links:$short", date("m/d/Y"));
|
||||||
$redis->expireAt("links:$short", $now+$xTime);
|
$redis->expireAt("links:$short", $now+$xTime);
|
||||||
$redis->expireAt("llinks:$link", $now+$xTime);
|
$redis->expireAt("llinks:$link", $now+$xTime);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user