From a04d0467948d46a723e3f7f2ff3fd76db210e369 Mon Sep 17 00:00:00 2001 From: Paul Pound Date: Thu, 5 Oct 2017 15:50:14 -0300 Subject: [PATCH] get allowed local ip addresses for full access --- targets/eds/roblib_search_eds.module | 2 ++ 1 file changed, 2 insertions(+) diff --git a/targets/eds/roblib_search_eds.module b/targets/eds/roblib_search_eds.module index f2689bd..e3038d4 100644 --- a/targets/eds/roblib_search_eds.module +++ b/targets/eds/roblib_search_eds.module @@ -327,6 +327,8 @@ function roblib_search_eds_build_config_arr($type) { $config = array(); $config['user'] = variable_get('roblib_search_eds_user', 'edsusername'); $config['password'] = variable_get('roblib_search_eds_pass', 'edspassword'); + //get the local ips allowed from ebsco + $config['local_ip_address'] = variable_get('ebsco_local_ips'); $config['profile'] = ($type === 'Books') ? variable_get('roblib_search_eds_book_profile', 'apilite') : variable_get('roblib_search_eds_profile', 'edsapi'); $config['auth_url'] = variable_get('roblib_search_eds_auth_url', 'https://eds-api.ebscohost.com/Authservice/rest');