Add "develop.allowDeepSymlinks" configuration option.
Refs: https://github.com/octobercms/library/pull/491
This commit is contained in:
parent
327d7be604
commit
4fb4e318f1
|
|
@ -20,5 +20,27 @@ return [
|
||||||
*/
|
*/
|
||||||
|
|
||||||
'decompileBackendAssets' => false,
|
'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,
|
||||||
|
|
||||||
];
|
];
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue