From 1e67c170df357c0d0831d223e93a6512d84c523e Mon Sep 17 00:00:00 2001 From: Till Brehm <tbrehm@ispconfig.org> Date: Mon, 27 Oct 2014 15:46:52 -0400 Subject: [PATCH] - Fixed hanging update on ubuntu 14.10 caused by mysql restart script. - Fixed: FS#3710 - Bug with PHP-FPM configuration since 3.0.5.4 Patch 4 - Fixed wrong function calls in system lib. --- server/lib/classes/system.inc.php | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/server/lib/classes/system.inc.php b/server/lib/classes/system.inc.php index aadfbf3..b92cae5 100644 --- a/server/lib/classes/system.inc.php +++ b/server/lib/classes/system.inc.php @@ -1765,8 +1765,8 @@ global $app; $cmd = ''; - if(is_installed('apache2ctl')) $cmd = 'apache2ctl -t -D DUMP_MODULES'; - elseif(is_installed('apachectl')) $cmd = 'apachectl -t -D DUMP_MODULES'; + if($this->is_installed('apache2ctl')) $cmd = 'apache2ctl -t -D DUMP_MODULES'; + elseif($this->is_installed('apachectl')) $cmd = 'apachectl -t -D DUMP_MODULES'; else { $app->log("Could not check apache modules, apachectl not found.", LOGLEVEL_WARN); return array(); -- Gitblit v1.9.1