install/index.php - Fix typo in detection of existing installations
authorTim Otten <totten@civicrm.org>
Tue, 2 Feb 2016 16:24:08 +0000 (09:24 -0700)
committerTim Otten <totten@civicrm.org>
Tue, 2 Feb 2016 16:24:08 +0000 (09:24 -0700)
install/index.php

index 1cfaf0b35e755d271402777041a038bbd9714f56..caf727574f658be230a61d1a886afbf6968fbdd6 100644 (file)
@@ -207,7 +207,7 @@ elseif ($installType == 'wordpress') {
   $cmsPath = WP_PLUGIN_DIR . DIRECTORY_SEPARATOR . 'civicrm';
   $upload_dir = wp_upload_dir();
   $files_dirname = $upload_dir['basedir'] . DIRECTORY_SEPARATOR . 'civicrm';
-  $wp_civi_settings = $upload_dir['basedir'] . DIRECTORY_SEPARATOR . 'civicrm' . DIRECTORY_SEPARATOR . 'civicrm.settingsphp';
+  $wp_civi_settings = $upload_dir['basedir'] . DIRECTORY_SEPARATOR . 'civicrm' . DIRECTORY_SEPARATOR . 'civicrm.settings.php';
   $wp_civi_settings_deprectated = CIVICRM_PLUGIN_DIR . 'civicrm.settings.php';
   if (file_exists($wp_civi_settings_deprectated)) {
     $alreadyInstalled = $wp_civi_settings_deprectated;