Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authordizzy <diosmosis@users.noreply.github.com>2021-05-11 07:06:58 +0300
committerGitHub <noreply@github.com>2021-05-11 07:06:58 +0300
commitb58ed3d4516f2c8214b547032d1cd7fac3088646 (patch)
tree3d18ab9bb49e1f5255a53797b0d2d24ecf3a26f2 /config
parenta7a3d8c8a4923aa60ed66cd6a86b669835848590 (diff)
add new ini config to enable/disable the php profiler feature (#17537)
* add new ini config to enable/disable the php profiler feature * apply review feedback * fix test * update screenshot * updated expected message
Diffstat (limited to 'config')
-rwxr-xr-xconfig/global.ini.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/config/global.ini.php b/config/global.ini.php
index 3fec499e6f..12655bcb8d 100755
--- a/config/global.ini.php
+++ b/config/global.ini.php
@@ -157,6 +157,12 @@ archiving_profile = 0
; if set to an absolute path, core:archive profiling information will be logged to specified file
archive_profiling_log =
+; if set to 1, use of a php profiler will be enabled. the profiler will not be activated unless its installation
+; can be detected and the correct query and CLI parameters are supplied to toggle it.
+; Note: this setting is not dependent on development mode, since it is often required to run the profiler with
+; all optimizations and caches enabled.
+enable_php_profiler = 0
+
[DebugTests]
; When set to 1, standalone plugins (those with their own git repositories)
; will be loaded when executing tests.