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

            Bug ID: 27555
           Summary: Use psgi_env from errors/* controller scripts
 Change sponsored?: ---
           Product: Koha
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P5 - low
         Component: Architecture, internals, and plumbing
          Assignee: [email protected]
          Reporter: [email protected]
        QA Contact: [email protected]
        Depends on: 26048

errors/* controller scripts are using
  any { /(^psgi\.|^plack\.)/i } keys %ENV
to know if we are running under psgi.

This is also defined in C4::Auth (psgi_env subroutine), but it's not available
as it is in BEGIN.

We should put this trick in an exportable subroutine to make it accessible from
pl scripts.


Referenced Bugs:

https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=26048
[Bug 26048] PSGI Koha does not use custom ErrorDocument pages
-- 
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.
_______________________________________________
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