diff options
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(); } |