mirror of
https://github.com/friendica/friendica
synced 2025-04-27 03:10:12 +00:00
Bugfixings in Config
- replaced usage of "!<unset>!" with null-returns - fixed bool settings (0/1) - fixed overriding config-values - fixed basepath problems
This commit is contained in:
parent
2d91d5c3d9
commit
8c3aebc376
24 changed files with 175 additions and 157 deletions
|
@ -144,7 +144,9 @@ if (!$foreground) {
|
|||
file_put_contents($pidfile, $pid);
|
||||
|
||||
// We lose the database connection upon forking
|
||||
Factory\DBFactory::init($a->getConfigCache(), $a->getProfiler(), $_SERVER);
|
||||
/// @todo refactoring during https://github.com/friendica/friendica/issues/6720
|
||||
$basePath = \Friendica\Util\BasePath::create(dirname(__DIR__), $_SERVER);
|
||||
Factory\DBFactory::init($basePath, $a->getConfigCache(), $a->getProfiler(), $_SERVER);
|
||||
}
|
||||
|
||||
Config::set('system', 'worker_daemon_mode', true);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue