diff options
author | friendica <info@friendica.com> | 2012-07-03 16:26:58 -0700 |
---|---|---|
committer | friendica <info@friendica.com> | 2012-07-03 16:26:58 -0700 |
commit | b550b1326b9e45c1938b738407c6b32cbace09cb (patch) | |
tree | e9f9fdf8ef08941fd5ad5b7473687b663f65c3a9 /boot.php | |
parent | 7926a0d171e1e84dcc551f67ef0d8f7bfac4a19f (diff) | |
parent | e3828fe6756c9bc15ecc386e182553bf8920c521 (diff) | |
download | volse-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.php | 18 |
1 files changed, 18 insertions, 0 deletions
@@ -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 |