From: Carl Schwan Date: Mon, 16 May 2022 11:35:31 +0000 (+0200) Subject: Fix location of the profiler data X-Git-Tag: v29.0.0beta1~144^2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=refs%2Fpull%2F32429%2Fhead;p=nextcloud-server.git Fix location of the profiler data This prevents collision with an user who could be named 'profiler' Signed-off-by: Carl Schwan --- 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'); } }