return $self;
}
+sub interface_type {
+ my ($self) = @_;
+ return $self->{interface} eq 'cgi' ? 'CGI' : 'FastCGI';
+}
+
sub pre_request_checks {
if (!$::auth->session_tables_present) {
if ($::form->{script} eq 'admin.pl') {
$form->{stylesheet} = $myconfig{stylesheet};
$form->{title} = $::locale->text('Lx-Office');
+ $form->{interface} = $::dispatcher->interface_type;
# create the logo screen
$form->header() unless $form->{noheader};
'Warning' => 'Warnung',
'Warnings during template upgrade' => 'Warnungen bei Aktualisierung der Dokumentenvorlagen',
'WebDAV link' => 'WebDAV-Link',
+ 'Webserver interface' => 'Webserverschnittstelle',
'Weight' => 'Gewicht',
'Weight unit' => 'Gewichtseinheit',
'What <b>term</b> you are looking for?' => 'Nach welchem <b>Begriff</b> wollen Sie suchen?',
<th align="left">[% 'Database Host' | $T8 %]</th>
<td>[% HTML.escape(myconfig_dbhost) %]</td>
</tr>
+ <tr>
+ <th align="left">[% 'Webserver interface' | $T8 %]</th>
+ <td>[% HTML.escape(interface) %]</td>
+ </tr>
<tr class="nomobile">
<th align="left">[% 'Lx-Office Homepage' | $T8 %]:</th>
<td><a href="http://lx-office.org" target="_blank" title="[% 'Lx-Office Homepage' | $T8 %]">http://lx-office.org</a></td>