2019-08-16 16:19:16 +08:00
|
|
|
<?php
|
|
|
|
|
|
|
|
return [
|
2022-03-15 21:05:08 -06:00
|
|
|
|
2019-08-16 16:19:16 +08:00
|
|
|
/*
|
|
|
|
|--------------------------------------------------------------------------
|
|
|
|
| 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)
|
|
|
|
|
|
|
|
|
*/
|
2022-03-15 21:05:08 -06:00
|
|
|
|
2019-08-16 16:19:16 +08:00
|
|
|
'decompileBackendAssets' => false,
|
2022-03-15 21:05:08 -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)
|
|
|
|
|
|
|
|
|
*/
|
2022-03-15 21:05:08 -06:00
|
|
|
|
2020-07-14 12:25:35 +08:00
|
|
|
'allowDeepSymlinks' => false,
|
2022-11-09 09:59:07 +08:00
|
|
|
|
|
|
|
/*
|
|
|
|
|--------------------------------------------------------------------------
|
|
|
|
| Enable Snowboard debugging
|
|
|
|
|--------------------------------------------------------------------------
|
|
|
|
|
|
|
|
|
| By default, Snowboard debugging and client-side logging will be enabled
|
|
|
|
| if the application is in debug mode (via `app.debug`).
|
|
|
|
|
|
|
|
|
| If you wish to control Snowboard debugging independently, you may instead
|
|
|
|
| set this value to `true` or `false` to enable or disable Snowboard
|
|
|
|
| debugging, respectively.
|
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
'debugSnowboard' => env('APP_DEBUG', true),
|
2019-08-16 16:19:16 +08:00
|
|
|
];
|