Comment 6 for bug 1895901

Revision history for this message
Mahara Bot (dev-mahara) wrote : A change has been merged

Reviewed: https://reviews.mahara.org/11283
Committed: https://git.mahara.org/mahara/mahara/commit/6c9de8b6f7502cc5fff36bb5504ba2573a864a1f
Submitter: Lisa Seeto (<email address hidden>)
Branch: 19.10_STABLE

commit 6c9de8b6f7502cc5fff36bb5504ba2573a864a1f
Author: Robert Lyon <email address hidden>
Date: Thu Sep 17 10:57:50 2020 +1200

Bug 1895901: Make sure we only call included files once

Otherwise we can end up with
PHP Fatal error: Cannot redeclare serve_file() (previously declared
in htdocs/lib/file.php:38) in htdocs/lib/file.php on line 171

Change-Id: I020393a395543738c9054783698e2665160308f8
Signed-off-by: Robert Lyon <email address hidden>
(cherry picked from commit 5b0a7106f793b2adef665773945013d5eeda04f8)