diff --git a/gateway.php b/gateway.php index 92833ce26efaff7664e443125fd50c3ca1df9c7f..af7e67765a9a1668d9cc759846e07532797daee2 100644 --- a/gateway.php +++ b/gateway.php @@ -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");