Use default_timeline_path to show first start or not
parent
83ed204d9c
commit
77cb06e67a
|
@ -81,6 +81,7 @@ class OtherController extends GenericApiController
|
||||||
return $this->config->getUserValue($uid, Application::APPNAME, $key, $default);
|
return $this->config->getUserValue($uid, Application::APPNAME, $key, $default);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
$defaultTimelinePath = $this->config->getSystemValue('memories.default_timeline_path', 'EMPTY');
|
||||||
return new JSONResponse([
|
return new JSONResponse([
|
||||||
// general stuff
|
// general stuff
|
||||||
'version' => $version,
|
'version' => $version,
|
||||||
|
@ -98,7 +99,7 @@ class OtherController extends GenericApiController
|
||||||
'preview_generator_enabled' => Util::previewGeneratorIsEnabled(),
|
'preview_generator_enabled' => Util::previewGeneratorIsEnabled(),
|
||||||
|
|
||||||
// general settings
|
// general settings
|
||||||
'timeline_path' => $getAppConfig('timelinePath', 'EMPTY'),
|
'timeline_path' => $getAppConfig('timelinePath', $defaultTimelinePath),
|
||||||
'enable_top_memories' => 'true' === $getAppConfig('enableTopMemories', 'true'),
|
'enable_top_memories' => 'true' === $getAppConfig('enableTopMemories', 'true'),
|
||||||
|
|
||||||
// viewer settings
|
// viewer settings
|
||||||
|
|
Loading…
Reference in New Issue