[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Koha-cvs] koha about.pl [rel_2_2]
From: |
Mason James |
Subject: |
[Koha-cvs] koha about.pl [rel_2_2] |
Date: |
Mon, 25 Jun 2007 01:11:26 +0000 |
CVSROOT: /sources/koha
Module name: koha
Branch: rel_2_2
Changes by: Mason James <sushi> 07/06/25 01:11:26
Modified files:
. : about.pl
Log message:
BUG-807, small fix to display httpd version, now handles apache/apache2
installs better, its not perfect but it will display a version string for
almost all koha setups.
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/koha/about.pl?cvsroot=koha&only_with_tag=rel_2_2&r1=1.4.4.4&r2=1.4.4.5
Patches:
Index: about.pl
===================================================================
RCS file: /sources/koha/koha/about.pl,v
retrieving revision 1.4.4.4
retrieving revision 1.4.4.5
diff -u -b -r1.4.4.4 -r1.4.4.5
--- about.pl 5 Feb 2006 21:59:20 -0000 1.4.4.4
+++ about.pl 25 Jun 2007 01:11:25 -0000 1.4.4.5
@@ -23,8 +23,13 @@
my $osVersion = `uname -a`;
my $perlVersion = $];
my $mysqlVersion = `mysql -V`;
+
my $apacheVersion = `httpd -v`;
$apacheVersion = `httpd2 -v` unless $apacheVersion;
+$apacheVersion = `apache -v` unless $apacheVersion;
+$apacheVersion = `apache2 -v` unless $apacheVersion;
+$apacheVersion = `/usr/sbin/apache -v` unless $apacheVersion;
+$apacheVersion = `/usr/sbin/apache2 -v` unless $apacheVersion;
$template->param(
kohaVersion => $kohaVersion,
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Koha-cvs] koha about.pl [rel_2_2],
Mason James <=