From 1f64451eb1b7ff9896ca7bc6cb13b5ff7b85aaa1 Mon Sep 17 00:00:00 2001 From: Matt Porritt Date: Fri, 3 Oct 2025 15:57:25 +0800 Subject: [PATCH] add public code restructure warning, to make it clear configuration changes are required as part of a 5.1 upgrade --- general/releases/5.1.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/general/releases/5.1.md b/general/releases/5.1.md index c77bb4e50..dc2eb7de7 100644 --- a/general/releases/5.1.md +++ b/general/releases/5.1.md @@ -12,6 +12,15 @@ import { ReleaseNoteIntro } from '@site/src/components/ReleaseInformation'; +:::warning Important 5.1 upgrade notice +The directory structure of Moodle files has changed in 5.1. +A new **"public"** folder has been introduced to contain all web accessible files. +Configuration and other sensitive files are now stored outside this folder for better security. + +You will need to reconfigure your web server to accommodate this change as part of the upgrade process. +Please review the configuration information, see [Code Restructure - Moodle Developer Resources](/docs/5.1/guides/restructure) prior to beginning the upgrade process 5.1. +::: + If you are upgrading from a previous version, please see [Upgrading](https://docs.moodle.org/en/Upgrading) in the user docs. ## Server requirements