Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

fixes + improvment. shows now apache and mysql versions

  • Loading branch information...
commit d40bdb949ebb9ad205412a4d68d74bc5ae1b0880 1 parent 66c2a98
tipaul authored
Showing with 11 additions and 10 deletions.
  1. +9 −8 about.pl
  2. +2 −2 koha-tmpl/intranet-tmpl/default/en/about.tmpl
View
17 about.pl
@@ -20,16 +20,17 @@
});
my $kohaVersion = C4::Context->config("kohaversion");
-my $osVersion = `/bin/uname -a`;
-my $perlVersion = `/usr/bin/perl -v`;
-my $mysqlVersion = "unknown";
-my $apacheVersion = "unknown";
+my $osVersion = `uname -a`;
+my $perlVersion = `perl -v`;
+my $mysqlVersion = `mysql -V`;
+my $apacheVersion = `httpd -V`;
$template->param(
- osVersion => $osVersion,
- perlVersion => $perlVersion,
- mysqlVersion => $mysqlVersion,
- apacheVersion => $apacheVersion,
+ kohaVersion => $kohaVersion,
+ osVersion => $osVersion,
+ perlVersion => $perlVersion,
+ mysqlVersion => $mysqlVersion,
+ apacheVersion => $apacheVersion,
);
output_html_with_http_headers $query, $cookie, $template->output;
View
4 koha-tmpl/intranet-tmpl/default/en/about.tmpl
@@ -6,9 +6,9 @@
interest).
<center>
-<table border=1 width=75%>
+<table border=1>
<tr bgcolor="white">
- <td>Koha version:</td>
+ <td width=25%>Koha version:</td>
<td><TMPL_VAR NAME=kohaVersion></td>
</tr>
<tr bgcolor="white">
Please sign in to comment.
Something went wrong with that request. Please try again.