diff options
author | Dieter Adriaenssens <ruleant@users.sourceforge.net> | 2011-08-26 00:38:51 +0400 |
---|---|---|
committer | Dieter Adriaenssens <ruleant@users.sourceforge.net> | 2011-08-26 00:38:51 +0400 |
commit | 5c751cd1c033664ea830c1fd152f11ab826092d6 (patch) | |
tree | f0a13de3ff8d28c0a394de08381c6884515b8c5a /libraries/common.inc.php | |
parent | fd118e02d45cab28409e64837fdcc8367a5c9ce8 (diff) |
make die() messages translatable, where possible
Diffstat (limited to 'libraries/common.inc.php')
-rw-r--r-- | libraries/common.inc.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libraries/common.inc.php b/libraries/common.inc.php index 26e7a0170f..085bcb22b1 100644 --- a/libraries/common.inc.php +++ b/libraries/common.inc.php @@ -144,7 +144,7 @@ if (!defined('PMA_MINIMUM_COMMON')) { * protect against possible exploits - there is no need to have so much variables */ if (count($_REQUEST) > 1000) { - die('possible exploit'); + die(__('possible exploit')); } /** @@ -153,7 +153,7 @@ if (count($_REQUEST) > 1000) { */ foreach ($GLOBALS as $key => $dummy) { if (is_numeric($key)) { - die('numeric key detected'); + die(__('numeric key detected')); } } unset($dummy); |