From c3a327dc385c617bc2daf0b5a51aacfaea2abde1 Mon Sep 17 00:00:00 2001
From: Robin McCorkell <rmccorkell@owncloud.com>
Date: Sun, 6 Sep 2015 18:11:34 +0100
Subject: [PATCH] Add config.sample.php parameter for tempdirectory

---
 config/config.sample.php | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/config/config.sample.php b/config/config.sample.php
index 234bf8e0fa3..f831080d480 100644
--- a/config/config.sample.php
+++ b/config/config.sample.php
@@ -79,6 +79,16 @@ $CONFIG = array(
  */
 'datadirectory' => '/var/www/owncloud/data',
 
+/**
+ * Override where ownCloud stores temporary files. Useful in situations where
+ * the system temporary directory is on a limited space ramdisk or is otherwise
+ * restricted, or if external storages which do not support streaming are in
+ * use.
+ *
+ * The web server user must have write access to this directory.
+ */
+'tempdirectory' => '/tmp/owncloudtemp',
+
 /**
  * The current version number of your ownCloud installation. This is set up
  * during installation and update, so you shouldn't need to change it.
-- 
GitLab