From 8c3f8822068cea1d5d9efdca73056055d153bf66 Mon Sep 17 00:00:00 2001 From: Jon Goldberg <jon@megaphonetech.com> Date: Tue, 27 Feb 2018 19:59:20 -0500 Subject: [PATCH] CRM-21812 - don't specify installation type post install Signed-off-by: Kevin Cristiano <kcristiano@tadpole.cc> --- civicrm.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/civicrm.php b/civicrm.php index 2208f64613..f3890af7c6 100644 --- a/civicrm.php +++ b/civicrm.php @@ -308,7 +308,9 @@ class CiviCRM_For_WordPress { if ( $this->civicrm_in_wordpress() ) { // this is required for AJAX calls in WordPress admin $_GET['noheader'] = TRUE; - } else { + } + + if ( !CIVICRM_INSTALLED && !$this->civicrm_in_wordpress() ) { $_GET['civicrm_install_type'] = 'wordpress'; } -- GitLab