mirror of https://github.com/gamaio/lobli.git
remove diagnostic print_r to test array values.
Checking to see if everything is getting into the array properly in the right place.
This commit is contained in:
parent
7c71c5744e
commit
485f1fa66f
|
@ -43,6 +43,8 @@
|
|||
<tbody>
|
||||
<?php
|
||||
|
||||
require('Include/PHP/db.php');
|
||||
|
||||
$stats = $redis->keys("tracking:clicks:*");
|
||||
rsort($stats);
|
||||
$stats = array_slice($stats, 0, 5, true);
|
||||
|
@ -53,8 +55,6 @@
|
|||
|
||||
$linkData = $redis->lRange("links:$id", 0, -1);
|
||||
|
||||
print_r($linkData); exit;
|
||||
|
||||
$link = $linkData[0];
|
||||
$title = $linkData[1];
|
||||
$date = $linkData[2];
|
||||
|
|
Loading…
Reference in New Issue