From 67b954924bc9cdd30741542f7867c80aa2b48b1e Mon Sep 17 00:00:00 2001 From: Savetheinternet Date: Mon, 3 Oct 2011 18:38:19 +1100 Subject: Referer checking; more descriptive error message --- inc/config.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'inc/config.php') 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.'; -- cgit v1.3