From 019634fc5b010324de8adde38f49239a816a519c Mon Sep 17 00:00:00 2001 From: =?utf8?q?Marc=20V=C3=A9ron?= Date: Fri, 19 Feb 2016 16:52:48 +0100 Subject: [PATCH] Bug 15721: (followup) Add apache2ctl to C4::Context::get_versions See comment #6 Signed-off-by: Tomas Cohen Arazi Signed-off-by: Brendan Gallagher brendan@bywatersolutions.com --- C4/Context.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/C4/Context.pm b/C4/Context.pm index 341438ae1e..7a5416e2c4 100644 --- a/C4/Context.pm +++ b/C4/Context.pm @@ -1058,6 +1058,7 @@ sub get_versions { $versions{mysqlVersion} = `mysql -V`; $versions{apacheVersion} = `httpd -v`; $versions{apacheVersion} = `httpd2 -v` unless $versions{apacheVersion} ; + $versions{apacheVersion} = (`apache2ctl -v`)[0] unless $versions{apacheVersion} ; $versions{apacheVersion} = `apache2 -v` unless $versions{apacheVersion} ; $versions{apacheVersion} = `/usr/sbin/apache2 -v` unless $versions{apacheVersion} ; } -- 2.39.5