Pierre Goiffon
2021-12-07 17:01:05 +01:00
parent 00acf271e2
commit c89c47d671

View File

@@ -768,7 +768,9 @@ class SetupUtils
{
$parent = dirname($dir);
self::builddir($parent);
mkdir($dir);
if (!mkdir($dir) && !is_dir($dir)) {
throw new \RuntimeException(sprintf('Directory "%s" was not created', $dir));
}
}
}