ojsde/pkp-lib — comment on commit cb83e37f5ebadf5ab87f8966615ffa7d88b939af
File:  line 0
By jerico-dev:

I used the logic from PKPApplication. See https://github.com/ojsde/pkp-lib/blame/beb2f4ffcb54bade57038ba4f9d063c1eeabb6a8/classes/core/PKPApplication.inc.php. It changed a bit back and forth since then but settled close to the initial logic for the reasons given in the inline comment: https://github.com/ojsde/pkp-lib/blob/78f43bd61485aa4abffdfa03b8735cbd7ff9922d/classes/core/PKPApplication.inc.php. If you like, we leave this commit out and you fix the bug the way you like.