[fix] Diagnostic:apache2 regexp

This commit is contained in:
alban 2014-07-05 18:12:58 +02:00
parent 4810ee88a4
commit 1b800ea1ba
1 changed files with 1 additions and 1 deletions

View File

@ -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);