diff -u securesite.module securesite.module --- 6.x-2.3/securesite.module 2010-02-02 10:22:33.246635474 +0900 +++ 6.x-2.3-patched/securesite.module 2010-02-05 09:15:46.616695400 +0900 @@ -100,7 +100,30 @@ // Did the user send credentials that we accept? $type = _securesite_mechanism(); if ($type !== FALSE && (isset($_SESSION['securesite_repeat']) ? !$_SESSION['securesite_repeat'] : TRUE)) { - drupal_bootstrap(DRUPAL_BOOTSTRAP_FULL); + // drupal full bootstrap minus calling module init hooks + drupal_bootstrap(DRUPAL_BOOTSTRAP_PATH); + require_once './includes/common.inc'; + require_once './includes/theme.inc'; + require_once './includes/pager.inc'; + require_once './includes/menu.inc'; + require_once './includes/tablesort.inc'; + require_once './includes/file.inc'; + require_once './includes/unicode.inc'; + require_once './includes/image.inc'; + require_once './includes/form.inc'; + require_once './includes/mail.inc'; + require_once './includes/actions.inc'; + // Set the Drupal custom error handler. + set_error_handler('drupal_error_handler'); + // Emit the correct charset HTTP header. + drupal_set_header('Content-Type: text/html; charset=utf-8'); + // Detect string handling method + unicode_check(); + // Undo magic quotes + fix_gpc_magic(); + // Load all enabled modules + module_load_all(); + module_load_include('inc', 'securesite'); _securesite_boot($type); } Common subdirectories: 6.x-2.3/.svn and 6.x-2.3-patched/.svn Common subdirectories: 6.x-2.3/theme and 6.x-2.3-patched/theme Common subdirectories: 6.x-2.3/translations and 6.x-2.3-patched/translations