mirror of
https://github.com/friendica/friendica
synced 2025-04-23 01:10:11 +00:00
Adding basepath, urlpath, hostname and ssl_policy to installation
This commit is contained in:
parent
19f474f50d
commit
90a38a00d8
20 changed files with 380 additions and 127 deletions
|
@ -144,9 +144,7 @@ if (!$foreground) {
|
|||
file_put_contents($pidfile, $pid);
|
||||
|
||||
// We lose the database connection upon forking
|
||||
/// @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);
|
||||
Factory\DBFactory::init($a->getConfigCache(), $a->getProfiler(), $_SERVER);
|
||||
}
|
||||
|
||||
Config::set('system', 'worker_daemon_mode', true);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue