aboutsummaryrefslogtreecommitdiffstats
path: root/boot.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2013-11-04 19:21:09 -0800
committerfriendica <info@friendica.com>2013-11-04 19:21:09 -0800
commitf89e7b2bd549474439e684c052623af7e2e8d27d (patch)
tree524080d313d0e2b9f69c7c7b3d7fec3c44d5ee3e /boot.php
parent1c5e2b86457144a6feb7b672d522939e9a2db0f8 (diff)
downloadvolse-hubzilla-f89e7b2bd549474439e684c052623af7e2e8d27d.tar.gz
volse-hubzilla-f89e7b2bd549474439e684c052623af7e2e8d27d.tar.bz2
volse-hubzilla-f89e7b2bd549474439e684c052623af7e2e8d27d.zip
make the storage permissions tweakable for hosted environments where they may require tweaking.
Diffstat (limited to 'boot.php')
-rwxr-xr-xboot.php15
1 files changed, 15 insertions, 0 deletions
diff --git a/boot.php b/boot.php
index aa56aff3d..99ec5de32 100755
--- a/boot.php
+++ b/boot.php
@@ -91,6 +91,21 @@ define ( 'LANGUAGE_DETECT_MIN_CONFIDENCE', 0.01 );
/**
+ * Default permissions for file-based storage (webDAV, etc.)
+ * These files will be owned by the webserver who will need write
+ * access to the "storage" folder.
+ * Ideally you should make this 700, however some hosted platforms
+ * may not let you change ownership of this directory so we're
+ * defaulting to both owner-write and group-write privilege.
+ * This should work for most cases without modification.
+ * Over-ride this in your .htconfig.php if you need something
+ * either more or less restrictive.
+ */
+
+define ( 'STORAGE_DEFAULT_PERMISSIONS', 0770 );
+
+
+/**
*
* An alternate way of limiting picture upload sizes. Specify the maximum pixel
* length that pictures are allowed to be (for non-square pictures, it will apply