Bugzilla – Attachment 55491 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), 890 bytes, created by
Marcel de Rooy
on 2016-09-12 10:32:09 UTC
(
hide
)
Description:
Bug 16733: [Follow-up] Add $home to api path too
Filename:
MIME Type:
Creator:
Marcel de Rooy
Created:
2016-09-12 10:32:09 UTC
Size:
890 bytes
patch
obsolete
>From 1de37f5a9512c99541ade1b69dc6516781b034f3 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 >Content-Type: text/plain; charset=utf-8 > >In the meantime api was enabled in plack.psgi and needs a little tweak >too for a dev install. >--- > 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 5c5f9f3..9d4b586 100644 >--- a/debian/templates/plack.psgi >+++ b/debian/templates/plack.psgi >@@ -60,7 +60,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; > }; > >-- >1.7.10.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