aboutsummaryrefslogtreecommitdiffstats
path: root/install/update.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2014-07-16 01:07:00 -0700
committerfriendica <info@friendica.com>2014-07-16 01:07:00 -0700
commit3a31ddea2b516cebe60c6ac096516db8df101fd0 (patch)
tree55ff5e01ec3035b0a8ade9e0731bd7d1b51e7794 /install/update.php
parent0435a08f3bafe47e0fe0cda6e698f93a5fab26e6 (diff)
downloadvolse-hubzilla-3a31ddea2b516cebe60c6ac096516db8df101fd0.tar.gz
volse-hubzilla-3a31ddea2b516cebe60c6ac096516db8df101fd0.tar.bz2
volse-hubzilla-3a31ddea2b516cebe60c6ac096516db8df101fd0.zip
provide os_mkdir to workaround permission issues with php mkdir
Diffstat (limited to 'install/update.php')
-rw-r--r--install/update.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/install/update.php b/install/update.php
index 3d4ed2cf9..6600808a6 100644
--- a/install/update.php
+++ b/install/update.php
@@ -995,7 +995,7 @@ ADD INDEX ( `menu_flags` )");
}
function update_r1091() {
- @mkdir('store/[data]/smarty3',STORAGE_DEFAULT_PERMISSIONS,true);
+ @os_mkdir('store/[data]/smarty3',STORAGE_DEFAULT_PERMISSIONS,true);
@file_put_contents('store/[data]/locks','');
return UPDATE_SUCCESS;
}
@@ -1301,6 +1301,6 @@ function update_r1115() {
}
function update_r1116() {
- @mkdir('store/[data]/smarty3',STORAGE_DEFAULT_PERMISSIONS,true);
+ @os_mkdir('store/[data]/smarty3',STORAGE_DEFAULT_PERMISSIONS,true);
return UPDATE_SUCCESS;
} \ No newline at end of file