Friendica-7112 - Missing basepath fix

This commit is contained in:
Philipp Holzer 2019-05-13 19:30:03 +02:00
parent 34360ca46d
commit 076370631f
No known key found for this signature in database
GPG key ID: 517BE60E2CE5C8A5
2 changed files with 37 additions and 1 deletions

View file

@ -149,7 +149,8 @@ class App
*/
public function getBasePath()
{
return $this->config->get('system', 'basepath');
// Don't use the basepath of the config table for basepath (it should always be the config-file one)
return $this->config->getCache()->get('system', 'basepath');
}
/**