summaryrefslogtreecommitdiff
path: root/install.php
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2009-01-19 10:46:52 +0000
committerDries Buytaert <dries@buytaert.net>2009-01-19 10:46:52 +0000
commitd20e4571215b379676bf95898232717b121ad95b (patch)
treeaa181045614138f925ccc74587a70c870e2f1ac1 /install.php
parent8cef09a7e6c970054d44117020afc88b5ee2bd41 (diff)
downloadbrdo-d20e4571215b379676bf95898232717b121ad95b.tar.gz
brdo-d20e4571215b379676bf95898232717b121ad95b.tar.bz2
- Patch #201122 by c960657, Moshe Weitzman: never write anonymous sessions, unless something has been written to . This is an important performance improvements -- as long as you use modules that use carefully. It might be good to report some analytics about this in the performance settings page so administrators can see if there is a 'broken' module.
Diffstat (limited to 'install.php')
-rw-r--r--install.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/install.php b/install.php
index f93a338f9..5a76f1bb4 100644
--- a/install.php
+++ b/install.php
@@ -628,7 +628,7 @@ function install_tasks($profile, $task) {
drupal_install_init_database();
drupal_bootstrap(DRUPAL_BOOTSTRAP_FULL);
- $_SESSION['messages'] = $messages;
+ drupal_set_session('messages', $messages);
// URL used to direct page requests.
$url = $base_url . '/install.php?locale=' . $install_locale . '&profile=' . $profile;