From 5a5208bd0b75c411840d4246bd5b3df427005ced Mon Sep 17 00:00:00 2001 From: Luke Towers Date: Sun, 19 Jul 2020 01:08:01 -0600 Subject: [PATCH] Document caveat with uploaded file URL generation when installing October in a subfolder Fixes #5204 --- config/cms.php | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/config/cms.php b/config/cms.php index 4c838a026..790355414 100644 --- a/config/cms.php +++ b/config/cms.php @@ -298,6 +298,16 @@ return [ | in cloud storage (ex. AWS, RackSpace) are valid for by setting | temporaryUrlTTL to a value in seconds to define a validity period. This | is only used for the 'uploads' config when using a supported cloud disk + | + | NOTE: If you have installed October in a subfolder, are using local + | storage and are not using a linkPolicy of 'force' you should include + | the path to the subfolder in the `path` option for these storage + | configurations. + | + | Example: October is installed under https://localhost/projects/october. + | You should then specify `/projects/october/storage/app/uploads` as the + | path for the uploads disk and `/projects/october/storage/app/media` as + | the path for the media disk. */ 'storage' => [