summaryrefslogtreecommitdiffstats
path: root/index.cgi
diff options
context:
space:
mode:
Diffstat (limited to 'index.cgi')
-rwxr-xr-xindex.cgi7
1 files changed, 7 insertions, 0 deletions
diff --git a/index.cgi b/index.cgi
index 9c3b6be96..7d1525b58 100755
--- a/index.cgi
+++ b/index.cgi
@@ -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();
}