diff options
author | Ismaël Bouya <ismael.bouya@normalesup.org> | 2019-02-03 20:58:18 +0100 |
---|---|---|
committer | Ismaël Bouya <ismael.bouya@normalesup.org> | 2021-02-08 01:23:56 +0100 |
commit | a19c24edc1057bd411821f9e3e7d1d309d38b1bb (patch) | |
tree | ee572568811b8ed56630156ab88b0a2278785e65 /application/ApplicationUtils.php | |
parent | 630ebca2b6359e942e5b6c057cca2b6069c1093a (diff) | |
download | Shaarli-a19c24edc1057bd411821f9e3e7d1d309d38b1bb.tar.gz Shaarli-a19c24edc1057bd411821f9e3e7d1d309d38b1bb.tar.zst Shaarli-a19c24edc1057bd411821f9e3e7d1d309d38b1bb.zip |
Add ldap connectiongitolite_local/ldap
Diffstat (limited to 'application/ApplicationUtils.php')
-rw-r--r-- | application/ApplicationUtils.php | 3 |
1 files changed, 3 insertions, 0 deletions
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 | |||
191 | $conf->get('resource.page_cache'), | 191 | $conf->get('resource.page_cache'), |
192 | $conf->get('resource.raintpl_tmp'), | 192 | $conf->get('resource.raintpl_tmp'), |
193 | ) as $path) { | 193 | ) as $path) { |
194 | if (! is_dir($path)) { | ||
195 | mkdir($path, 0755, true); | ||
196 | } | ||
194 | if (! is_readable(realpath($path))) { | 197 | if (! is_readable(realpath($path))) { |
195 | $errors[] = '"'.$path.'" '. t('directory is not readable'); | 198 | $errors[] = '"'.$path.'" '. t('directory is not readable'); |
196 | } | 199 | } |