Skip to content
Snippets Groups Projects
Commit 219cfdd9 authored by Eric Rasmussen's avatar Eric Rasmussen
Browse files

Return a message rather than exiting; $php_path appears to be unused here, commenting out

git-svn-id: file:///tmp/wdn_thm_drupal/branches/drupal-7.x@181 20a16fea-79d4-4915-8869-1ea9d5ebf173
parent 3fca814d
Branches
No related tags found
No related merge requests found
......@@ -47,7 +47,7 @@ function unl_site_creation($form, &$form_state)
function unl_site_creation_submit($form, &$form_state)
{
$php_path = $form_state['values']['php_path'];
//$php_path = $form_state['values']['php_path'];
$site_path = $form_state['values']['site_path'];
$site_path_prefix = $form_state['values']['site_path_prefix'];
$clean_url = $form_state['values']['clean_url'];
......@@ -81,5 +81,7 @@ function unl_site_creation_submit($form, &$form_state)
'clean_url' => $clean_url
))->execute();
exit;
drupal_set_message(t('The site '.$uri.' has been started, run unl/cron.php to finish setup.'));
$form_state['redirect'] = 'admin/sites/unl/add';
return;
}
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment