From 1b800ea1ba751398173f1a75eaf54c00fc668840 Mon Sep 17 00:00:00 2001 From: alban Date: Sat, 5 Jul 2014 18:12:58 +0200 Subject: [PATCH] [fix] Diagnostic:apache2 regexp --- lib/Alternc/Diagnostic/Service/Apache2.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Alternc/Diagnostic/Service/Apache2.php b/lib/Alternc/Diagnostic/Service/Apache2.php index 41710783..d40eec43 100644 --- a/lib/Alternc/Diagnostic/Service/Apache2.php +++ b/lib/Alternc/Diagnostic/Service/Apache2.php @@ -32,7 +32,7 @@ class Alternc_Diagnostic_Service_Apache2 } function getVhosts(){ - $list = $this->filterRegexp( $this->execCmd("apache2ctl -S"), "/^[\D]*(\d{2,4}).* (.*) \(\/etc.*$/u"); + $list = $this->filterRegexp( $this->execCmd("apache2ctl -S"), "/^[\D]*(\d{2,4}).* (.*) \(\/.*$/u"); $returnArray = array(); foreach( $list as $vhost){ $returnArray[] = explode(" ",$vhost);