Commit 0b9a2fdf authored by nee's avatar nee

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)
parent fdd3d630
......@@ -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,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment