diff options
author | Bharat Mediratta <bharat@menalto.com> | 2009-03-08 21:21:09 +0000 |
---|---|---|
committer | Bharat Mediratta <bharat@menalto.com> | 2009-03-08 21:21:09 +0000 |
commit | 72c7fed975ce797da1f33ea82651c5a91ce3957e (patch) | |
tree | 4e84359029adcd40e31c3b20031c1096018e50aa /core/helpers/core_theme.php | |
parent | 7cbc904be722b493a060e2ad69849344124fbe91 (diff) |
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.
Diffstat (limited to 'core/helpers/core_theme.php')
-rw-r--r-- | core/helpers/core_theme.php | 4 |
1 files changed, 4 insertions, 0 deletions
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) { |