From 72c7fed975ce797da1f33ea82651c5a91ce3957e Mon Sep 17 00:00:00 2001 From: Bharat Mediratta Date: Sun, 8 Mar 2009 21:21:09 +0000 Subject: Log the user in as admin after running the web installer, and give them a nice "Welcome to Gallery 3" dialog. The text in there needs a little work but it's a start. In the process, re-build the install.sql using the scaffolding code. --- installer/web.php | 1 + 1 file changed, 1 insertion(+) (limited to 'installer/web.php') diff --git a/installer/web.php b/installer/web.php index 27124cd9..387a26bb 100644 --- a/installer/web.php +++ b/installer/web.php @@ -54,6 +54,7 @@ if (installer::already_installed()) { } else { try { list ($user, $password) = installer::create_admin($config); + installer::create_admin_session($config); $content = render("success.html.php", array("user" => $user, "password" => $password)); installer::create_private_key($config); -- cgit v1.2.3