aboutsummaryrefslogtreecommitdiffhomepage
path: root/application/ApplicationUtils.php
diff options
context:
space:
mode:
authorIsmaël Bouya <ismael.bouya@normalesup.org>2019-02-03 20:58:18 +0100
committerIsmaël Bouya <ismael.bouya@normalesup.org>2021-02-08 01:23:56 +0100
commita19c24edc1057bd411821f9e3e7d1d309d38b1bb (patch)
treeee572568811b8ed56630156ab88b0a2278785e65 /application/ApplicationUtils.php
parent630ebca2b6359e942e5b6c057cca2b6069c1093a (diff)
downloadShaarli-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.php3
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 }