Commit e061a715 authored by jlaval's avatar jlaval

And reenable redis to be useful

parent 6e67b0d4
......@@ -37,11 +37,11 @@ if ( $_REQUEST['module']=="fsearch" )
exit();
$content = null;
/*if ($site->user->is_valid() && $site->user->cotisant) {
if ($site->user->is_valid() && $site->user->cotisant) {
require_once($topdir. "include/lib/predis/Predis.php");
$redis = new Predis_Client ();
$content = $redis->get (strtolower ($_REQUEST["pattern"]));
}*/
}
if ($content == null) {
require_once($topdir. "include/cts/fsearch.inc.php");
......
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