From bd7f49b3809c18dd25d32bfef89a43134e9b3096 Mon Sep 17 00:00:00 2001 From: Steven Mondji-Lerider Date: Tue, 26 Feb 2013 16:55:37 +0000 Subject: [PATCH] adding the new db_server parameter when creating admin user --- install/newone.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/install/newone.php b/install/newone.php index db85dd0e..e7d1bf82 100644 --- a/install/newone.php +++ b/install/newone.php @@ -44,7 +44,8 @@ require("/usr/share/alternc/panel/class/config_nochk.php"); $admin->enabled=1; // On crée le compte admin : -if (!$admin->add_mem("admin","admin","Administrateur", "Admin", "postmaster@".$L_FQDN,1,'default',0,'',1)) { +//FIXME the last parameter should not be chosen by default: it has to match an entry in the db_servers table +if (!$admin->add_mem("admin","admin","Administrateur", "Admin", "postmaster@".$L_FQDN,1,'default',0,'',0 ,'',1)) { echo $err->errstr()."\n"; exit(1); }