diff options
author | lpsolit%gmail.com <> | 2006-08-22 06:27:41 +0200 |
---|---|---|
committer | lpsolit%gmail.com <> | 2006-08-22 06:27:41 +0200 |
commit | 1271f8d95c86c189a3b66ce8247f69682177ea14 (patch) | |
tree | 41bbe03dbc81a2ea1227236e33b5934fdf905577 /index.cgi | |
parent | cfbe7958a0559bc20edfa939320646457a35e21b (diff) | |
download | bugzilla-1271f8d95c86c189a3b66ce8247f69682177ea14.tar.gz bugzilla-1271f8d95c86c189a3b66ce8247f69682177ea14.tar.xz |
Bug 349361: Implement a Welcome page for admins on a fresh installation - Patch by Frédéric Buclin <LpSolit@gmail.com> r=wurblzap a=myk
Diffstat (limited to 'index.cgi')
-rwxr-xr-x | index.cgi | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -57,6 +57,13 @@ my $vars = {}; print $cgi->header(); if ($user->in_group('admin')) { + # If 'urlbase' is not set, display the Welcome page. + unless (Bugzilla->params->{'urlbase'}) { + $template->process('welcome-admin.html.tmpl') + || ThrowTemplateError($template->error()); + exit; + } + # Inform the administrator about new releases, if any. $vars->{'release'} = Bugzilla::Update::get_notifications(); } |