forked from leftypol/leftypol
Referer checking; more descriptive error message
This commit is contained in:
parent
55743a7705
commit
67b954924b
3 changed files with 12 additions and 14 deletions
|
@ -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.';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue