Fix multi-docroot feature

This commit is contained in:
Niklas Keller
2016-03-20 15:18:57 +01:00
parent 063eebf76d
commit 82578e4370

View File

@@ -56,7 +56,10 @@ class Issue implements Command {
}
if (count($domains) > count($docRoots)) {
$docRoots = array_fill(count($docRoots), count($domains) - count($docRoots), end($docRoots));
$docRoots = array_merge(
$docRoots,
array_fill(count($docRoots), count($domains) - count($docRoots), end($docRoots))
);
}
$keyStore = new KeyStore(dirname(dirname(__DIR__)) . "/data");