https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30897

--- Comment #10 from David Cook <[email protected]> ---
(In reply to Martin Renvoize from comment #9)
> Do you have a method in mind for the double check we're starman/plack you
> mention?
> 
> I'm struggling to think of a reliable one

I was hoping that we could check $0 but it looks like one of the Plack
components possibly relating to Plack::App::CGIBin changes it to the CGI script
being emulated, so that won't work. 

I think we'll probably just have to check the environment in that case.
C4::Context->psgi_env() will probably be good enough. 

Another thought about this one... rather than putting it into the
InstallPlugins(), we could have a different method for resetting the parent
process, and just invoke it in the web controller. That would be safer.

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to