@@ 52-55 (lines=4) @@ | ||
49 | { |
|
50 | $webservername = $input->getArgument('webserver'); |
|
51 | $version = 0; |
|
52 | if (preg_match(',([^:]+)(:([\.\d]+))$,', $webservername, $matches)) { |
|
53 | $version = $matches[3]; |
|
54 | $webservername = $matches[1]; |
|
55 | } |
|
56 | ||
57 | $factory = new Factory(); |
|
58 | $webserver = $factory->createWebServer($webservername, $version); |
@@ 40-43 (lines=4) @@ | ||
37 | { |
|
38 | $webservername = $input->getArgument('webserver'); |
|
39 | $version = 0; |
|
40 | if (preg_match(',([^:]+)(:([\.\d]+))$,', $webservername, $matches)) { |
|
41 | $version = $matches[3]; |
|
42 | $webservername = $matches[1]; |
|
43 | } |
|
44 | ||
45 | $factory = new Factory(); |
|
46 |