From 0a58973631626879abeea4956b33cc2b56dea453 Mon Sep 17 00:00:00 2001 From: ctrlcctrlv Date: Sat, 21 Sep 2013 02:21:05 +0000 Subject: Make it so that users can't insert code w/syntax errors into ?/config --- inc/config.php | 1 + 1 file changed, 1 insertion(+) (limited to 'inc/config.php') 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 already exists!'); $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: '); /* * ========================= -- cgit v1.3