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);
|
||||
};
|
||||
|
||||
$defaultTimelinePath = $this->config->getSystemValue('memories.default_timeline_path', 'EMPTY');
|
||||
return new JSONResponse([
|
||||
// general stuff
|
||||
'version' => $version,
|
||||
|
@ -98,7 +99,7 @@ class OtherController extends GenericApiController
|
|||
'preview_generator_enabled' => Util::previewGeneratorIsEnabled(),
|
||||
|
||||
// general settings
|
||||
'timeline_path' => $getAppConfig('timelinePath', 'EMPTY'),
|
||||
'timeline_path' => $getAppConfig('timelinePath', $defaultTimelinePath),
|
||||
'enable_top_memories' => 'true' === $getAppConfig('enableTopMemories', 'true'),
|
||||
|
||||
// viewer settings
|
||||
|
|
Loading…
Reference in New Issue