mirror of https://github.com/nextcloud/server
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>
This commit is contained in:
parent
fa773ece6d
commit
6ad335e229
|
@ -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');
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue