Fix to previous checkins: ensure that both the ../csr/... and ../crt/...

directories are created, otherwise the CommModule client process will be
attemmpting to create and reference files in non-existing (crt) directories.
pull/1/head
Wytze van der Raay 15 years ago
parent 6bd322fd54
commit 7fa6a187d8

@ -914,8 +914,10 @@
if($newlayout)
{
$name="../$type/$kind/".intval($id/1000)."/$kind-".intval($id).".$type";
mkdir("../$type/$kind");
mkdir("../$type/$kind/".intval($id/1000));
mkdir("../csr/$kind",0777);
mkdir("../crt/$kind",0777);
mkdir("../csr/$kind/".intval($id/1000));
mkdir("../crt/$kind/".intval($id/1000));
}
return $name;
}

Loading…
Cancel
Save