CRM-16114 - Erroneous message on Wordpress install in 4.6b3
authoratif-shaikh <shaikh388@gmail.com>
Wed, 18 Mar 2015 12:42:36 +0000 (18:12 +0530)
committeratif-shaikh <shaikh388@gmail.com>
Wed, 18 Mar 2015 12:42:36 +0000 (18:12 +0530)
https://issues.civicrm.org/jira/browse/CRM-16114

install/index.php

index c8739b99e39812eb0be1ec5b806261b55df4b927..354fc51cd7e87a44d5a7990289a7d6c3f44256a2 100644 (file)
@@ -1418,9 +1418,6 @@ class Installer extends InstallRequirements {
         echo '<div style="padding: 1em;"><p style="background-color: #0C0; border: 1px #070 solid; color: white;">' . ts("CiviCRM has been successfully installed") . '</p>';
         echo '<ul>';
 
-        $c = CRM_Core_Config::singleton(FALSE);
-        $c->free();
-
         $cmsURL = civicrm_cms_base();
         $cmsURL .= "wp-admin/admin.php?page=CiviCRM&q=civicrm/admin/configtask&reset=1";
         $wpPermissionsURL = "wp-admin/admin.php?page=CiviCRM&q=civicrm/admin/access/wp-permissions&reset=1";
@@ -1431,6 +1428,9 @@ class Installer extends InstallRequirements {
 
         echo '</ul>';
         echo '</div>';
+
+        $c = CRM_Core_Config::singleton(FALSE);
+        $c->free();
       }
     }