Add 'performance_stats' option, so perf. stats can be logged with disabled devel_mode

pull/186/head
Aleksander Machniak 11 years ago
parent 60a67f52ad
commit 48e92fcbba

@ -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');

Loading…
Cancel
Save