Bugzilla – Attachment 3825 Details for
Bug 6134
rename ILS-DI:Authorized_IPs. it was wrong written
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
rename ILS-DI:Authorized_IPs
0001-Bug-6134-rename-ILS-DI-Authorized_IPs.patch (text/plain), 863 bytes, created by
Alex Arnaud
on 2011-04-08 08:52:41 UTC
(
hide
)
Description:
rename ILS-DI:Authorized_IPs
Filename:
MIME Type:
Creator:
Alex Arnaud
Created:
2011-04-08 08:52:41 UTC
Size:
863 bytes
patch
obsolete
>From 5bf80f66540f2824c91cabd5eba5c43279c0a07c Mon Sep 17 00:00:00 2001 >From: Alex Arnaud <alex.arnaud@biblibre.com> >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 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 6134
: 3825