Commit 138a7961 authored by kcristiano's avatar kcristiano Committed by totten

CRM-21297 - Automatically fill database details in Drupal installer. Update...

CRM-21297 - Automatically fill database details in Drupal installer.  Update WP redirect after install
parent bb79149d
......@@ -1708,12 +1708,13 @@ class Installer extends InstallRequirements {
$output .= "<li>" . ts("Use the <a %1>Configuration Checklist</a> to review and configure settings for your new site", array(1 => "target='_blank' href='$cmsURL'")) . "</li>";
$output .= $commonOutputMessage;
echo '</ul>';
echo '</div>';
$output .= '</ul>';
$output .= '</div>';
echo $output;
$c = CRM_Core_Config::singleton(FALSE);
$c->free();
$wpInstallRedirect = admin_url("?page=CiviCRM&q=civicrm&reset=1");
$wpInstallRedirect = admin_url('admin.php?page=CiviCRM&q=civicrm&reset=1');
echo "<script>
window.location = '$wpInstallRedirect';
</script>";
......
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