Fixed issue with certificates directory creation - refs #3630

skala
Yannick Warnier 13 years ago
parent 7bf411402a
commit 6c5c11dbce
  1. 4
      main/inc/lib/certificate.lib.php

@ -79,7 +79,7 @@ class Certificate extends Model {
$this->certification_web_user_path = $web_path_info['dir'].'certificate/';
if (!is_dir($path_info['dir'])) {
mkdir($path_info['dir'],0777);
mkdir($path_info['dir'], 0777, true);
}
if (!is_dir($this->certification_user_path)) {
@ -331,4 +331,4 @@ class Certificate extends Model {
}
exit;
}
}
}

Loading…
Cancel
Save