|
@@ -44,7 +44,7 @@ |
|
|
block discarded – undo |
|
44
|
44
|
|
|
45
|
45
|
foreach ($activeConfig as $line => $directive) { |
|
46
|
46
|
if (preg_match('/(?P<key>\w+)\s+(?P<value>[^;]+);/', trim($directive), $matches)) { |
|
47
|
|
- $parsedActiveConfig[$line] = new Directive($matches['key'],$matches['value']); |
|
|
47
|
+ $parsedActiveConfig[$line] = new Directive($matches['key'], $matches['value']); |
|
48
|
48
|
} |
|
49
|
49
|
if (preg_match('/(?P<key>\w+)\s+(?P<value>[^\s{+])\s*{/', trim($directive), $matches)) { |
|
50
|
50
|
$parsedActiveConfig[$line] = ['block directive', [$matches['key'] => $matches['value']]]; |
Please login to merge, or discard this patch.