MantisBT: master-2.27 b337bef5

Author Committer Branch Timestamp Parent
dregad dregad master-2.27 2024-10-27 10:59 master-2.27 c4cb7a79
Affected Issues  0034503: t_admin_dir_is_accessible check is wrong
Changeset

Fix incorrect check for admin dir on login page

Belt and braces:

  • use is_readable() instead of file_exists() to check admin dir
  • if admin dir is accessible, use include_once instead of require_once
    to read schema.php, so we don't get a fatal error in case the file
    cannot be read and just skip the schema version check in that case.

Fixes 0034503

mod - login_page.php Diff File