From 6ad335e2291565102aa8614cc196c474a82dc8f1 Mon Sep 17 00:00:00 2001 From: Carl Schwan Date: Mon, 16 May 2022 13:35:31 +0200 Subject: [PATCH] Fix location of the profiler data This prevents collision with an user who could be named 'profiler' Signed-off-by: Carl Schwan --- lib/private/Profiler/Profiler.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/private/Profiler/Profiler.php b/lib/private/Profiler/Profiler.php index d6749c55e3c..9cbf703c79b 100644 --- a/lib/private/Profiler/Profiler.php +++ b/lib/private/Profiler/Profiler.php @@ -44,7 +44,7 @@ class Profiler implements IProfiler { public function __construct(SystemConfig $config) { $this->enabled = $config->getValue('profiler', false); if ($this->enabled) { - $this->storage = new FileProfilerStorage($config->getValue('datadirectory', \OC::$SERVERROOT . '/data') . '/profiler'); + $this->storage = new FileProfilerStorage($config->getValue('datadirectory', \OC::$SERVERROOT . '/data') . '/__profiler'); } } -- 2.39.5