diff options
author | Bharat Mediratta <bharat@menalto.com> | 2009-03-09 00:03:04 +0000 |
---|---|---|
committer | Bharat Mediratta <bharat@menalto.com> | 2009-03-09 00:03:04 +0000 |
commit | 198297e0d465de8d479db93cf17d08b5b5e1016e (patch) | |
tree | 7ffa7f7d8c55daadadb4e30e72880fd5cb7405aa /installer/installer.php | |
parent | 72c7fed975ce797da1f33ea82651c5a91ce3957e (diff) |
Instead of putting after_install in the url, put it in the session.
This helps us to make sure that we only see the welcome message once.
Diffstat (limited to 'installer/installer.php')
-rw-r--r-- | installer/installer.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/installer/installer.php b/installer/installer.php index ff727340..2a8b6219 100644 --- a/installer/installer.php +++ b/installer/installer.php @@ -106,6 +106,7 @@ class installer { $data = "session_id|s:32:\"$session_id\""; $data .= ";user_agent|s:{$user_agent_len}:\"$user_agent\""; $data .= ";user|i:2"; + $data .= ";after_install|i:1"; $data .= ";last_activity|i:$now"; $data = base64_encode($data); $sql = "INSERT INTO {sessions} VALUES('$session_id', $now, '$data')"; |