Commit e0fc32ed authored by jlaval's avatar jlaval

Disable redis for test

parent e9e42d16
......@@ -37,16 +37,16 @@ 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");
$fsearch = new fsearch ( $site, false );
$content = addslashes($fsearch->buffer);
$content = $fsearch->buffer;
}
echo $content;
......
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