Bugzilla – Attachment 59150 Details for
Bug 16733
More flexible paths in debian scripts (for dev installs)
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 16733: [Follow-up] Add $home to api path too
Bug-16733-Follow-up-Add-home-to-api-path-too.patch (text/plain), 918 bytes, created by
Jonathan Druart
on 2017-01-18 09:49:18 UTC
(
hide
)
Description:
Bug 16733: [Follow-up] Add $home to api path too
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2017-01-18 09:49:18 UTC
Size:
918 bytes
patch
obsolete
>From 3bec186da9a1266f1db0cd6ee1359d0be6c24db8 Mon Sep 17 00:00:00 2001 >From: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >Date: Mon, 12 Sep 2016 12:22:05 +0200 >Subject: [PATCH] Bug 16733: [Follow-up] Add $home to api path too > >In the meantime api was enabled in plack.psgi and needs a little tweak >too for a dev install. > >Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >--- > debian/templates/plack.psgi | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/debian/templates/plack.psgi b/debian/templates/plack.psgi >index 1ed4acb..3538b9a 100644 >--- a/debian/templates/plack.psgi >+++ b/debian/templates/plack.psgi >@@ -61,7 +61,7 @@ my $opac = Plack::App::CGIBin->new( > > my $apiv1 = builder { > my $server = Mojo::Server::PSGI->new; >- $server->load_app('/usr/share/koha/api/v1/app.pl'); >+ $server->load_app("$home/api/v1/app.pl"); > $server->to_psgi_app; > }; > >-- >2.1.4
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 16733
:
52464
|
52465
|
52466
|
52467
|
52559
|
52560
|
53384
|
53385
|
53386
|
53387
|
55491
|
59146
|
59147
|
59148
|
59149
| 59150