Comment 7 for bug 1895901

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

Reviewed: https://reviews.mahara.org/11282
Committed: https://git.mahara.org/mahara/mahara/commit/3181f4b887b1363b147cfeae2e6bf159e7a22864
Submitter: Lisa Seeto (<email address hidden>)
Branch: 19.04_STABLE

commit 3181f4b887b1363b147cfeae2e6bf159e7a22864
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)