Drupal user permissions have been automatically set - giving anonymous and authenticated users access to public CiviCRM forms and features. We recommend that you review these permissions to ensure that they are appropriate for your requirements (learn more...)
Have you registered this site at CiviCRM.org? If not, please help strengthen the CiviCRM ecosystem by taking a few minutes to fill out the site registration form. The information collected will help us prioritize improvements, target our communications and build the community. If you have a technical role for this site, be sure to check Keep in Touch to receive technical updates (a low volume mailing list).
-
We have integrated KCFinder with CKEditor and TinyMCE, which enables user to upload images. Note that all the images uploaded using KCFinder will be public.
";
-
- // automatically enable CiviCRM module once it is installed successfully.
- // so we need to Bootstrap Drupal, so that we can call drupal hooks.
- global $cmsPath, $crmPath;
-
- // relative / abosolute paths are not working for drupal, hence using chdir()
- chdir($cmsPath);
-
- include_once "./includes/bootstrap.inc";
- include_once "./includes/unicode.inc";
-
- drupal_bootstrap(DRUPAL_BOOTSTRAP_FULL);
-
- // prevent session information from being saved.
- drupal_save_session(FALSE);
-
- // Force the current user to anonymous.
- $original_user = $GLOBALS['user'];
- $GLOBALS['user'] = drupal_anonymous_user();
-
- // explicitly setting error reporting, since we cannot handle drupal related notices
- error_reporting(1);
-
- // rebuild modules, so that civicrm is added
- system_rebuild_module_data();
-
- // now enable civicrm module.
- module_enable(array('civicrm', 'civicrmtheme'));
-
- // clear block, page, theme, and hook caches
- drupal_flush_all_caches();
-
- //add basic drupal permissions
- civicrm_install_set_drupal_perms();
-
- // restore the user.
- $GLOBALS['user'] = $original_user;
- drupal_save_session(TRUE);
-
- $output .= '
';
- $output .= '
';
- $output .= '';
- $output .= '';
- echo $output;
+ // send back to the install with profile and locale variables
+ // this allows the user to pick up where they left off in the install
+ $URL_to_continue_Drupal_install = civicrm_cms_base() . 'install.php?profile=' . $_GET['profile'] . '&locale=' . $_GET['locale'];;
+ header('Location: '. $URL_to_continue_Drupal_install);
+
}
elseif ($installType == 'drupal' && version_compare(VERSION, '6.0') >= 0) {
// clean output