aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2011-09-22 17:35:49 -0700
committerFriendika <info@friendika.com>2011-09-22 17:35:49 -0700
commitfda9e6f2527bbc2156ad3283f3ad0d94ae8226e1 (patch)
tree00006adf76b753e413cdba0953d9f984cfe25b6f
parentd6b446d63ffe589429394b5937b67ec666bbe219 (diff)
downloadvolse-hubzilla-fda9e6f2527bbc2156ad3283f3ad0d94ae8226e1.tar.gz
volse-hubzilla-fda9e6f2527bbc2156ad3283f3ad0d94ae8226e1.tar.bz2
volse-hubzilla-fda9e6f2527bbc2156ad3283f3ad0d94ae8226e1.zip
increase pcre backtrack limit
-rw-r--r--boot.php6
1 files changed, 4 insertions, 2 deletions
diff --git a/boot.php b/boot.php
index 26b540118..118b4d69a 100644
--- a/boot.php
+++ b/boot.php
@@ -7,7 +7,7 @@ require_once('include/text.php');
require_once("include/pgettext.php");
-define ( 'FRIENDIKA_VERSION', '2.3.1111' );
+define ( 'FRIENDIKA_VERSION', '2.3.1112' );
define ( 'DFRN_PROTOCOL_VERSION', '2.21' );
define ( 'DB_UPDATE_VERSION', 1092 );
@@ -185,7 +185,9 @@ define ( 'GRAVITY_COMMENT', 6);
function startup() {
error_reporting(E_ERROR | E_WARNING | E_PARSE);
set_time_limit(0);
- ini_set('pcre.backtrack_limit', 250000);
+
+ // This has to be quite large to deal with embedded private photos
+ ini_set('pcre.backtrack_limit', 350000);
if (get_magic_quotes_gpc()) {