Referer checking; more descriptive error message

This commit is contained in:
Savetheinternet 2011-10-03 18:38:19 +11:00
parent 55743a7705
commit 67b954924b
3 changed files with 12 additions and 14 deletions

View file

@ -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.';