Bugzilla – Attachment 120666 Details for
Bug 28278
Improve $KOHA_CONF parsing speed by using XML::LibXML
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 28278: Uncomment and test access_dirs
Bug-28278-Uncomment-and-test-accessdirs.patch (text/plain), 1.50 KB, created by
Jonathan Druart
on 2021-05-07 09:31:43 UTC
(
hide
)
Description:
Bug 28278: Uncomment and test access_dirs
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2021-05-07 09:31:43 UTC
Size:
1.50 KB
patch
obsolete
>From 648b0faeb0aa224dd576bc8c62a3c62db8c5b4b8 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Fri, 7 May 2021 11:31:21 +0200 >Subject: [PATCH] Bug 28278: Uncomment and test access_dirs > >--- > t/Koha/Config.t | 3 +++ > t/data/koha-conf.xml | 6 ++---- > 2 files changed, 5 insertions(+), 4 deletions(-) > >diff --git a/t/Koha/Config.t b/t/Koha/Config.t >index ceaab6edd79..5493b098cab 100755 >--- a/t/Koha/Config.t >+++ b/t/Koha/Config.t >@@ -128,6 +128,9 @@ subtest 'read_from_file() tests' => sub { > 'memcached_namespace' => 'KOHA', > 'template_cache_dir' => '/tmp/koha', > 'api_secret_passphrase' => 'CHANGEME', >+ 'access_dirs' => { >+ access_dir => [ '/dir_1', '/dir_2' ], >+ }, > 'ttf' => { > 'font' => [ > { >diff --git a/t/data/koha-conf.xml b/t/data/koha-conf.xml >index facbea97b3b..28cc2689e5b 100644 >--- a/t/data/koha-conf.xml >+++ b/t/data/koha-conf.xml >@@ -121,12 +121,10 @@ > <api_secret_passphrase>CHANGEME</api_secret_passphrase> > > <!-- Accessible directory from the staff client, uncomment the following line and define a valid path to let the intranet user access it--> >- <!-- > <access_dirs> >- <access_dir></access_dir> >- <access_dir></access_dir> >+ <access_dir>/dir_1</access_dir> >+ <access_dir>/dir_2</access_dir> > </access_dirs> >- --> > > <!-- true type font mapping accoding to type from $font_types in C4/Creators/Lib.pm --> > <ttf> >-- >2.20.1
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 28278
:
120374
|
120375
|
120414
|
120415
|
120455
|
120456
| 120666