aboutsummaryrefslogtreecommitdiffstats
path: root/boot.php
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2011-05-04 02:20:44 -0700
committerFriendika <info@friendika.com>2011-05-04 02:20:44 -0700
commit59fd70e568fbc93922769333c55d8c1fa72cea9d (patch)
tree091e462af7cd7851c6ff3790e47c5e019d2c18bc /boot.php
parent64a7d0b578ae3264eb65bd4ad1c20a38d63cf3bf (diff)
downloadvolse-hubzilla-59fd70e568fbc93922769333c55d8c1fa72cea9d.tar.gz
volse-hubzilla-59fd70e568fbc93922769333c55d8c1fa72cea9d.tar.bz2
volse-hubzilla-59fd70e568fbc93922769333c55d8c1fa72cea9d.zip
issues with private photos - hitting internal size limits
Diffstat (limited to 'boot.php')
-rw-r--r--boot.php13
1 files changed, 12 insertions, 1 deletions
diff --git a/boot.php b/boot.php
index 6479868b3..263d76f62 100644
--- a/boot.php
+++ b/boot.php
@@ -1,6 +1,7 @@
<?php
set_time_limit(0);
+ini_set('pcre.backtrack_limit', 250000);
define ( 'FRIENDIKA_VERSION', '2.1.968' );
define ( 'DFRN_PROTOCOL_VERSION', '2.21' );
@@ -9,7 +10,17 @@ define ( 'DB_UPDATE_VERSION', 1054 );
define ( 'EOL', "<br />\r\n" );
define ( 'ATOM_TIME', 'Y-m-d\TH:i:s\Z' );
define ( 'DOWN_ARROW', '&#x21e9;' );
-
+
+/**
+ *
+ * Image storage quality. Lower numbers save space at cost of image detail.
+ * For ease of upgrade, please do not change here. Change jpeg quality with
+ * set_config('system','jpeg_quality',n) in .htconfig.php
+ * where n is netween 1 and 100, and with very poor results below about 50
+ *
+ */
+
+define ( 'JPEG_QUALITY', 100 );
/**
* SSL redirection policies