forked from GNUsocial/gnu-social
allow the cmd installer to load the config file from '/etc/gnusocial/config.d/'.$_server.'.php'
using the commandline argument as $_server (passed through lib/common.php to lib/gnusocial.php)
This commit is contained in:
parent
fdd3d63098
commit
0b9a2fdf3a
@ -517,6 +517,9 @@ abstract class Installer
|
||||
*/
|
||||
function registerInitialUser()
|
||||
{
|
||||
// initalize hostname from install arguments, so it can be used to find
|
||||
// the /etc config file from the commandline installer
|
||||
$server = $this->server;
|
||||
require_once INSTALLDIR . '/lib/common.php';
|
||||
|
||||
$data = array('nickname' => $this->adminNick,
|
||||
|
Loading…
Reference in New Issue
Block a user