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. --- core/helpers/core_theme.php | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'core/helpers/core_theme.php') diff --git a/core/helpers/core_theme.php b/core/helpers/core_theme.php index db40f368..eed64ded 100644 --- a/core/helpers/core_theme.php +++ b/core/helpers/core_theme.php @@ -88,6 +88,10 @@ class core_theme_Core { if (Session::instance()->get("l10n_mode", false)) { return L10n_Client_Controller::l10n_form(); } + + if (Input::instance()->get("after_install")) { + return new View("after_install_loader.html"); + } } static function admin_page_bottom($theme) { -- cgit v1.2.3