summaryrefslogtreecommitdiff
path: root/program/include
diff options
context:
space:
mode:
authorAleksander Machniak <alec@alec.pl>2014-05-08 10:30:45 +0200
committerAleksander Machniak <alec@alec.pl>2014-05-08 10:30:45 +0200
commit48e92fcbbabfce7ee9ff141c576954ae940e8f0d (patch)
treeecc33db7a46ca91d8410ad2c1d1017041e4ab9ea /program/include
parent60a67f52ad0a23aef3d02e4e9abf28317e5b3144 (diff)
Add 'performance_stats' option, so perf. stats can be logged with disabled devel_mode
Diffstat (limited to 'program/include')
-rw-r--r--program/include/rcmail.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/program/include/rcmail.php b/program/include/rcmail.php
index 0600d155a..d4305b505 100644
--- a/program/include/rcmail.php
+++ b/program/include/rcmail.php
@@ -828,7 +828,7 @@ class rcmail extends rcube
}
// write performance stats to logs/console
- if ($this->config->get('devel_mode')) {
+ if ($this->config->get('devel_mode') || $this->config->get('performance_stats')) {
// make sure logged numbers use unified format
setlocale(LC_NUMERIC, 'en_US.utf8', 'en_US.UTF-8', 'en_US', 'C');