Commit 718b3984 authored by jlaval's avatar jlaval

Use phpredis in feed_redis script too

parent 6457369e
......@@ -26,10 +26,10 @@ $topdir="../";
require_once ($topdir. "include/site.inc.php");
require_once ($topdir. "include/cts/fsearch.inc.php");
require_once ($topdir. "include/lib/predis/Predis.php");
$site = new site ();
$redis = new Predis_Client();
$redis = new Redis ();
$redis->pconnect ('127.0.0.1');
function get_char_off ($offset)
{
......@@ -61,4 +61,6 @@ compute_pattern_with_size (2);
compute_pattern_with_size (3);
compute_pattern_with_size (4);
$redis->close ();
?>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment