From 198297e0d465de8d479db93cf17d08b5b5e1016e Mon Sep 17 00:00:00 2001 From: Bharat Mediratta Date: Mon, 9 Mar 2009 00:03:04 +0000 Subject: 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. --- installer/installer.php | 1 + 1 file changed, 1 insertion(+) (limited to 'installer/installer.php') 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')"; -- cgit v1.2.3