summaryrefslogtreecommitdiff
path: root/config.php.sample
diff options
context:
space:
mode:
authorEvan Prodromou <evan@controlyourself.ca>2009-03-07 09:43:50 -0800
committerEvan Prodromou <evan@controlyourself.ca>2009-03-07 09:43:50 -0800
commit986a32223177a759b0ef071822d227011ee1b3c7 (patch)
treeb9f601a991bdb6f73eafeabb40a72e2f739c5150 /config.php.sample
parent16a6aa53907de29c6d993fd18e62d45e4380f451 (diff)
Limit duplicate notices in a particular time period (default 60s)
We disallow posting a notice with duplicate content more than once a minute. Conflicts: config.php.sample
Diffstat (limited to 'config.php.sample')
-rw-r--r--config.php.sample6
1 files changed, 6 insertions, 0 deletions
diff --git a/config.php.sample b/config.php.sample
index a6cada77a..c2b27408c 100644
--- a/config.php.sample
+++ b/config.php.sample
@@ -159,3 +159,9 @@ $config['sphinx']['port'] = 3312;
# Add Google Analytics
# require_once('plugins/GoogleAnalyticsPlugin.php');
# $ga = new GoogleAnalyticsPlugin('your secret code');
+
+#Don't allow saying the same thing more than once per hour
+#$config['site']['dupelimit'] = 3600;
+#Don't enforce the dupe limit
+#$config['site']['dupelimit'] = -1;
+