Fix old script name after recent features merge

This commit is contained in:
Gregory Colpart 2017-09-01 03:27:24 +02:00
parent 53f280096a
commit ea4d220a59
1 changed files with 1 additions and 1 deletions

View File

@ -71,7 +71,7 @@ function web_add($form, $admin_mail) {
if ( $form->getField('domain_alias')->getValue() ) {
$domain_alias = preg_split('/,/', $form->getField('domain_alias')->getValue());
foreach ( $domain_alias as $domain ) {
$exec_cmd = 'web-add-multi.sh add-alias '.$form->getField('username')->getValue().' ';
$exec_cmd = 'web-add.sh add-alias '.$form->getField('username')->getValue().' ';
$domain = trim($domain);
$exec_cmd .= $domain.' '. $server_list;
sudoexec($exec_cmd, $exec_output, $exec_return);