summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorCarl Schwan <carl@carlschwan.eu>2022-05-16 13:35:31 +0200
committerJohn Molakvoæ <skjnldsv@users.noreply.github.com>2024-02-23 15:30:18 +0100
commit6ad335e2291565102aa8614cc196c474a82dc8f1 (patch)
tree1010cf07b196b610281de746a6625c4760c91b86 /lib
parentfa773ece6dac48ed4ff15b51341eec31c2b13052 (diff)
downloadnextcloud-server-6ad335e2291565102aa8614cc196c474a82dc8f1.tar.gz
nextcloud-server-6ad335e2291565102aa8614cc196c474a82dc8f1.zip
Fix location of the profiler data
This prevents collision with an user who could be named 'profiler' Signed-off-by: Carl Schwan <carl@carlschwan.eu>
Diffstat (limited to 'lib')
-rw-r--r--lib/private/Profiler/Profiler.php2
1 files changed, 1 insertions, 1 deletions
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');
}
}