summaryrefslogtreecommitdiffstats
path: root/sites
diff options
context:
space:
mode:
authorDries Buytaert2010-06-25 18:07:07 (GMT)
committerDries Buytaert2010-06-25 18:07:07 (GMT)
commitd53f469d58a71356a71ada45c6c4f0954f7c47c1 (patch)
tree59a5d670ac9ef3310557807db865fe1543ff3cf3 /sites
parent7e52847ae90984d482ad7af3372a46c0d1435014 (diff)
- Patch #538032 by Gerhard Killesreiter, pwolanin: document possible preg memory issues.
Diffstat (limited to 'sites')
-rw-r--r--sites/default/default.settings.php11
1 files changed, 11 insertions, 0 deletions
diff --git a/sites/default/default.settings.php b/sites/default/default.settings.php
index c7fcef8..549898c 100644
--- a/sites/default/default.settings.php
+++ b/sites/default/default.settings.php
@@ -260,6 +260,17 @@ ini_set('session.gc_maxlifetime', 200000);
ini_set('session.cookie_lifetime', 2000000);
/**
+ * If you encounter a situation where users post a large amount of text, and
+ * the result is stripped out upon viewing but can still be edited, Drupal's
+ * output filter may not have sufficient memory to process it. If you
+ * experience this issue, you may wish to uncomment the following two lines
+ * and increase the limits of these variables. For more information, see
+ * http://php.net/manual/en/pcre.configuration.php.
+ */
+# ini_set('pcre.backtrack_limit', 200000);
+# ini_set('pcre.recursion_limit', 200000);
+
+/**
* Drupal automatically generates a unique session cookie name for each site
* based on on its full domain name. If you have multiple domains pointing at
* the same Drupal site, you can either redirect them all to a single domain