diff options
| author | ctrlcctrlv <wizardchan@hush.com> | 2013-09-21 02:21:05 +0000 |
|---|---|---|
| committer | ctrlcctrlv <wizardchan@hush.com> | 2013-09-21 02:21:05 +0000 |
| commit | 0a58973631626879abeea4956b33cc2b56dea453 (patch) | |
| tree | 21dfa7b4029193c3609b17dca3f0690318aa3c11 /inc/config.php | |
| parent | 5906af7dcd6ef1e824c14f51215cc55483e587c2 (diff) | |
Make it so that users can't insert code w/syntax errors into ?/config
Diffstat (limited to 'inc/config.php')
| -rw-r--r-- | inc/config.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/inc/config.php b/inc/config.php index a354f835..619cdde7 100644 --- a/inc/config.php +++ b/inc/config.php @@ -1009,6 +1009,7 @@ $config['error']['modexists'] = _('That mod <a href="?/users/%d">already exists</a>!'); $config['error']['invalidtheme'] = _('That theme doesn\'t exist!'); $config['error']['csrf'] = _('Invalid security token! Please go back and try again.'); + $config['error']['badsyntax'] = _('Your code contained PHP syntax errors. Please go back and correct them. PHP says: '); /* * ========================= |
