Add "develop.allowDeepSymlinks" configuration option.

Refs: https://github.com/octobercms/library/pull/491
This commit is contained in:
Ben Thomson 2020-07-14 12:25:35 +08:00 committed by GitHub
parent 327d7be604
commit 4fb4e318f1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 22 additions and 0 deletions

View File

@ -20,5 +20,27 @@ return [
*/
'decompileBackendAssets' => false,
/*
|--------------------------------------------------------------------------
| Allow deep-level symlinks
|--------------------------------------------------------------------------
|
| October CMS, by default, will allow symlinks within the first level of
| subdirectories. When this feature is enabled, the system will allow
| symlinks to be used at any directory level. This can be useful for
| symlinking individual plugins or themes.
|
| Please note that this has a negative effect on performance. This feature
| abides by "cms.restrictBaseDir" - if enabled, symlinks cannot point to
| resources outside of the root folder.
|
| true - allow symlinks at any level
|
| false - only allow symlinks at the first level of subdirectories (default)
|
*/
'allowDeepSymlinks' => false,
];