2019-08-16 16:19:16 +08:00
|
|
|
<?php
|
|
|
|
|
|
|
|
return [
|
|
|
|
|
|
|
|
/*
|
|
|
|
|--------------------------------------------------------------------------
|
|
|
|
| Decompile backend assets
|
|
|
|
|--------------------------------------------------------------------------
|
|
|
|
|
|
|
|
|
| Enabling this will load all individual backend asset files, instead of
|
2021-03-10 15:02:53 -06:00
|
|
|
| loading the compiled asset files generated by `winter:util compile
|
2019-08-16 16:19:16 +08:00
|
|
|
| assets`. This is useful only for development purposes, and should not be
|
|
|
|
| enabled in production. Please note that enabling this will make the
|
|
|
|
| Backend load a LOT of individual asset files.
|
|
|
|
|
|
|
|
|
| true - allow decompiled backend assets
|
|
|
|
|
|
|
|
|
| false - use compiled backend assets (default)
|
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
'decompileBackendAssets' => false,
|
2021-03-10 15:25:57 -06:00
|
|
|
|
2020-07-14 12:25:35 +08:00
|
|
|
/*
|
|
|
|
|--------------------------------------------------------------------------
|
|
|
|
| Allow deep-level symlinks
|
|
|
|
|--------------------------------------------------------------------------
|
|
|
|
|
|
2021-03-10 15:25:57 -06:00
|
|
|
| Winter CMS, by default, will allow symlinks within the first level of
|
2020-07-14 12:25:35 +08:00
|
|
|
| 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,
|
2019-08-16 16:19:16 +08:00
|
|
|
|
|
|
|
];
|