X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=about.pl;h=ef45340b1c04f533cdad5d0d601dd9f13afecb2d;hb=26b2bd1fe02012115a5bf9736e8d446f4bc52a9e;hp=96a8b5a683c520c6e598fcd577c0e6c6e240d3d8;hpb=fb8aa63f9d9f56bf80ffab7b6e45b8cadb66ddf4;p=koha.git diff --git a/about.pl b/about.pl index 96a8b5a683..ef45340b1c 100755 --- a/about.pl +++ b/about.pl @@ -68,6 +68,10 @@ my $warnPrefBiblioAddsAuthorities = ( $prefAutoCreateAuthorities && ( !$prefBibl my $prefEasyAnalyticalRecords = C4::Context->preference('EasyAnalyticalRecords'); my $prefUseControlNumber = C4::Context->preference('UseControlNumber'); my $warnPrefEasyAnalyticalRecords = ( $prefEasyAnalyticalRecords && $prefUseControlNumber ); +my $warnPrefAnonymousPatron = ( + C4::Context->preference('OPACPrivacy') + and not C4::Context->preference('AnonymousPatron') +); my $errZebraConnection = C4::Context->Zconn("biblioserver",0)->errcode(); @@ -86,6 +90,7 @@ $template->param( prefAutoCreateAuthorities => $prefAutoCreateAuthorities, warnPrefBiblioAddsAuthorities => $warnPrefBiblioAddsAuthorities, warnPrefEasyAnalyticalRecords => $warnPrefEasyAnalyticalRecords, + warnPrefAnonymousPatron => $warnPrefAnonymousPatron, errZebraConnection => $errZebraConnection, warnIsRootUser => $warnIsRootUser, ); @@ -143,8 +148,8 @@ $template->param( table => $table ); ## Koha time line code #get file location -my $dir = C4::Context->config('intranetdir'); -open( my $file, "<", "$dir" . "/docs/history.txt" ); +my $docdir = C4::Context->config('docdir'); +open( my $file, "<", "$docdir" . "/history.txt" ); my $i = 0; my @rows2 = ();