summaryrefslogtreecommitdiff
path: root/inc/config.php
diff options
context:
space:
mode:
authorSavetheinternet <savetheinternet@tinyboard.org>2011-10-03 18:38:19 +1100
committerSavetheinternet <savetheinternet@tinyboard.org>2011-10-03 18:38:19 +1100
commit67b954924bc9cdd30741542f7867c80aa2b48b1e (patch)
treea2597feddb1c4b5e3b261dcbf9a2410edba9ae3b /inc/config.php
parent55743a77054f1a5a5157856bd2c11751892653d2 (diff)
Referer checking; more descriptive error message
Diffstat (limited to 'inc/config.php')
-rw-r--r--inc/config.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/inc/config.php b/inc/config.php
index 4c2d5812..9a5891ff 100644
--- a/inc/config.php
+++ b/inc/config.php
@@ -132,10 +132,11 @@
// For development purposes. Turns 'display_errors' on. Not recommended for production.
$config['verbose_errors'] = true;
-
+
// Error messages
$config['error']['lurk'] = 'Lurk some more before posting.';
$config['error']['bot'] = 'You look like a bot.';
+ $config['error']['referer'] = 'Your browser sent an invalid or no HTTP referer.';
$config['error']['toolong'] = 'The %s field was too long.';
$config['error']['toolong_body'] = 'The body was too long.';
$config['error']['tooshort_body'] = 'The body was too short or empty.';