Reviewed: https://reviews.mahara.org/11283 Committed: https://git.mahara.org/mahara/mahara/commit/6c9de8b6f7502cc5fff36bb5504ba2573a864a1f Submitter: Lisa Seeto ([email protected]) Branch: 19.10_STABLE
commit 6c9de8b6f7502cc5fff36bb5504ba2573a864a1f Author: Robert Lyon <[email protected]> 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 protected]> (cherry picked from commit 5b0a7106f793b2adef665773945013d5eeda04f8) -- You received this bug notification because you are a member of Mahara Contributors, which is subscribed to Mahara. Matching subscriptions: Subscription for all Mahara Contributors -- please ask on #mahara-dev or mahara.org forum before editing or unsubscribing it! https://bugs.launchpad.net/bugs/1895901 Title: Getting PHP Fatal error: Cannot redeclare serve_file() when using sync_langpacks Status in Mahara: Fix Committed Status in Mahara 19.04 series: Fix Committed Status in Mahara 19.10 series: Fix Committed Status in Mahara 20.04 series: Fix Committed Status in Mahara 20.10 series: Fix Committed Bug description: This is because we are using require() instead of require_once() in sync_langpacks.php To manage notifications about this bug go to: https://bugs.launchpad.net/mahara/+bug/1895901/+subscriptions _______________________________________________ Mailing list: https://launchpad.net/~mahara-contributors Post to : [email protected] Unsubscribe : https://launchpad.net/~mahara-contributors More help : https://help.launchpad.net/ListHelp

