diff options
Diffstat (limited to 'config')
-rwxr-xr-x | config/config.sample.php | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/config/config.sample.php b/config/config.sample.php index d093cff2093..0a933b1ae5f 100755 --- a/config/config.sample.php +++ b/config/config.sample.php @@ -270,6 +270,27 @@ $CONFIG = array( 'preview_libreoffice_path' => '/usr/bin/libreoffice', /* cl parameters for libreoffice / openoffice */ 'preview_office_cl_parameters' => '', +/** + * Only register providers that have been explicitly enabled + * + * The following providers are enabled by default: + * - OC\Preview\Image + * - OC\Preview\MP3 + * - OC\Preview\TXT + * - OC\Preview\MarkDown + * + * The following providers are disabled by default due to performance or privacy concerns: + * - OC\Preview\Office + * - OC\Preview\SVG + * - OC\Preview\Movies + * - OC\Preview\PDF + */ +'enabledPreviewProviders' => array( + 'OC\Preview\Image', + 'OC\Preview\MP3', + 'OC\Preview\TXT', + 'OC\Preview\MarkDown' +), /* whether avatars should be enabled */ 'enable_avatars' => true, |