diff options
| author | Savetheinternet <savetheinternet@tinyboard.org> | 2011-10-03 18:38:19 +1100 |
|---|---|---|
| committer | Savetheinternet <savetheinternet@tinyboard.org> | 2011-10-03 18:38:19 +1100 |
| commit | 67b954924bc9cdd30741542f7867c80aa2b48b1e (patch) | |
| tree | a2597feddb1c4b5e3b261dcbf9a2410edba9ae3b /inc/config.php | |
| parent | 55743a77054f1a5a5157856bd2c11751892653d2 (diff) | |
Referer checking; more descriptive error message
Diffstat (limited to 'inc/config.php')
| -rw-r--r-- | inc/config.php | 3 |
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.'; |
