[Koha-bugs] [Bug 29744] Harmonize psgi/plack detection methods

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Sep 16 09:14:18 CEST 2022


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

--- Comment #17 from Marcel de Rooy <m.de.rooy at rijksmuseum.nl> ---
(In reply to Marcel de Rooy from comment #16)
> Also note that C4::Context routines should normally be OO (at least it was
> designed that way).
> Moving the test from 31468 here too

errors/400.pl:if ( C4::Context->is_internal_PSGI_request() ) {
errors/401.pl:if ( C4::Context->is_internal_PSGI_request() ) {
errors/402.pl:if ( C4::Context->is_internal_PSGI_request() ) {
errors/403.pl:if ( C4::Context->is_internal_PSGI_request() ) {
errors/404.pl:if ( C4::Context->is_internal_PSGI_request() ) {
errors/500.pl:if ( C4::Context->is_internal_PSGI_request() ) {
opac/errors/400.pl:if ( C4::Context->is_internal_PSGI_request() ) {
opac/errors/401.pl:if ( C4::Context->is_internal_PSGI_request() ) {
opac/errors/402.pl:if ( C4::Context->is_internal_PSGI_request() ) {
opac/errors/403.pl:if ( C4::Context->is_internal_PSGI_request() ) {
opac/errors/404.pl:if ( C4::Context->is_internal_PSGI_request() ) {
opac/errors/500.pl:if ( C4::Context->is_internal_PSGI_request() ) {

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list