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

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Schwan <carl@carlschwan.eu>2022-05-16 14:35:31 +0300
committerCarl Schwan <carl@carlschwan.eu>2022-05-16 14:35:31 +0300
commitcba14a5c70d91d48657024b9e08a2ba59a9603f1 (patch)
tree2a3b9d51077183e206dbdb7d649796b9ef086ae6
parentad405e93767cfaf0ba34011010bb26dc4c05f60a (diff)
Fix location of the profiler datafix/profiler-data-loca
This prevents collision with an user who could be named 'profiler' Signed-off-by: Carl Schwan <carl@carlschwan.eu>
-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 8aa800fbc6d..627b21a56d2 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');
}
}