summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--program/include/rcmail.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/program/include/rcmail.php b/program/include/rcmail.php
index 07876d6b0..e558ce8e6 100644
--- a/program/include/rcmail.php
+++ b/program/include/rcmail.php
@@ -846,6 +846,9 @@ class rcmail extends rcube
// write performance stats to logs/console
if ($this->config->get('devel_mode')) {
+ // make sure logged numbers use unified format
+ setlocale(LC_NUMERIC, 'en_US.utf8', 'en_US.UTF-8', 'en_US', 'C');
+
if (function_exists('memory_get_usage'))
$mem = $this->show_bytes(memory_get_usage());
if (function_exists('memory_get_peak_usage'))