From e95def39f4a374071c52fa5e91d145333684135d Mon Sep 17 00:00:00 2001 From: iraouf Date: Tue, 15 Aug 2023 15:05:13 +0100 Subject: [PATCH] [configuration][override_dir_structure] autoload to autoload_runtime From Symfony 5.3 we use autoload_runtime instead of autoload --- configuration/override_dir_structure.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configuration/override_dir_structure.rst b/configuration/override_dir_structure.rst index 2a5df047611..21e3f89d31b 100644 --- a/configuration/override_dir_structure.rst +++ b/configuration/override_dir_structure.rst @@ -254,7 +254,7 @@ your ``index.php`` front controller. If you renamed the directory, you're fine. But if you moved it in some way, you may need to modify these paths inside those files:: - require_once __DIR__.'/../path/to/vendor/autoload.php'; + require_once __DIR__.'/../path/to/vendor/autoload_runtime.php'; You also need to change the ``extra.public-dir`` option in the ``composer.json`` file: