X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=application%2FApplicationUtils.php;h=f21a1ef3fcbde7a7911dfdf60c1bf4c6da30806e;hb=refs%2Fheads%2Fgitolite_local%2Fldap;hp=911873a071ca7813f7ef9e3fa75d8ce18b2f8ec8;hpb=630ebca2b6359e942e5b6c057cca2b6069c1093a;p=github%2Fshaarli%2FShaarli.git diff --git a/application/ApplicationUtils.php b/application/ApplicationUtils.php index 911873a0..f21a1ef3 100644 --- a/application/ApplicationUtils.php +++ b/application/ApplicationUtils.php @@ -191,6 +191,9 @@ class ApplicationUtils $conf->get('resource.page_cache'), $conf->get('resource.raintpl_tmp'), ) as $path) { + if (! is_dir($path)) { + mkdir($path, 0755, true); + } if (! is_readable(realpath($path))) { $errors[] = '"'.$path.'" '. t('directory is not readable'); }