Commit e061a715 authored by jlaval's avatar jlaval

And reenable redis to be useful

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