From 5bf80f66540f2824c91cabd5eba5c43279c0a07c Mon Sep 17 00:00:00 2001 From: Alex Arnaud Date: Fri, 8 Apr 2011 10:51:50 +0200 Subject: [PATCH] Bug #6134 - rename ILS-DI:Authorized_IPs --- opac/ilsdi.pl | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/opac/ilsdi.pl b/opac/ilsdi.pl index 56058f0..f084535 100755 --- a/opac/ilsdi.pl +++ b/opac/ilsdi.pl @@ -152,7 +152,7 @@ unless ( C4::Context->preference('ILS-DI') ) { } # If the remote address is not allowed, redirect to 403 -my @AuthorizedIPs = split(/,/, C4::Context->preference('ILS-DI:AuthorizedIPs')); +my @AuthorizedIPs = split( /,/, C4::Context->preference('ILS-DI:Authorized_IPs') ); if ( @AuthorizedIPs # If no filter set, allow access to everybody and not any { $ENV{'REMOTE_ADDR'} eq $_ } @AuthorizedIPs # IP Check ) { -- 1.6.3.3