aboutsummaryrefslogtreecommitdiffstats
path: root/boot.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2012-07-03 16:26:58 -0700
committerfriendica <info@friendica.com>2012-07-03 16:26:58 -0700
commitb550b1326b9e45c1938b738407c6b32cbace09cb (patch)
treee9f9fdf8ef08941fd5ad5b7473687b663f65c3a9 /boot.php
parent7926a0d171e1e84dcc551f67ef0d8f7bfac4a19f (diff)
parente3828fe6756c9bc15ecc386e182553bf8920c521 (diff)
downloadvolse-hubzilla-b550b1326b9e45c1938b738407c6b32cbace09cb.tar.gz
volse-hubzilla-b550b1326b9e45c1938b738407c6b32cbace09cb.tar.bz2
volse-hubzilla-b550b1326b9e45c1938b738407c6b32cbace09cb.zip
Merge https://github.com/friendica/friendica into pull
Diffstat (limited to 'boot.php')
-rw-r--r--boot.php18
1 files changed, 18 insertions, 0 deletions
diff --git a/boot.php b/boot.php
index 8b1f5a2e5..6b79274d4 100644
--- a/boot.php
+++ b/boot.php
@@ -34,6 +34,24 @@ define ( 'JPEG_QUALITY', 100 );
*/
define ( 'PNG_QUALITY', 8 );
+/**
+ *
+ * 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
+ * to the longest side). Pictures longer than this length will be resized to be
+ * this length (on the longest side, the other side will be scaled appropriately).
+ * Modify this value using
+ *
+ * $a->config['system']['max_image_length'] = n;
+ *
+ * in .htconfig.php
+ *
+ * If you don't want to set a maximum length, set to -1. The default value is
+ * defined by 'MAX_IMAGE_LENGTH' below.
+ *
+ */
+define ( 'MAX_IMAGE_LENGTH', -1 );
+
/**
* Not yet used