Referer checking; more descriptive error message

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

No files matched your search

+2 -1
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.';