Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorGeorg Ehrke <georg@ownCloud.com>2013-05-25 13:05:37 +0400
committerGeorg Ehrke <georg@ownCloud.com>2013-05-25 13:05:37 +0400
commit1bed3253abfc627a6dd698fc62a617285c1d7c84 (patch)
tree158cca0a37ea0dfc3a46ac683e8cf3b5ddff8748 /config
parent00985068ca249f4087f9f5b634e628afb8e8f7b1 (diff)
add sample config for previews
Diffstat (limited to 'config')
-rw-r--r--config/config.sample.php8
1 files changed, 8 insertions, 0 deletions
diff --git a/config/config.sample.php b/config/config.sample.php
index 72834009201..db6eaf852af 100644
--- a/config/config.sample.php
+++ b/config/config.sample.php
@@ -183,4 +183,12 @@ $CONFIG = array(
'customclient_desktop' => '', //http://owncloud.org/sync-clients/
'customclient_android' => '', //https://play.google.com/store/apps/details?id=com.owncloud.android
'customclient_ios' => '' //https://itunes.apple.com/us/app/owncloud/id543672169?mt=8
+
+// PREVIEW
+/* the max width of a generated preview, if value is null, there is no limit */
+'preview_max_x' => null,
+/* the max height of a generated preview, if value is null, there is no limit */
+'preview_max_y' => null,
+/* the max factor to scale a preview, default is set to 10 */
+'preview_max_scale_factor' => 10,
);