aboutsummaryrefslogtreecommitdiffstats
path: root/mod
diff options
context:
space:
mode:
Diffstat (limited to 'mod')
-rw-r--r--mod/cloud.php2
-rwxr-xr-xmod/setup.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/mod/cloud.php b/mod/cloud.php
index 25773066a..3734f769a 100644
--- a/mod/cloud.php
+++ b/mod/cloud.php
@@ -37,7 +37,7 @@ function cloud_init(&$a) {
require_once('include/reddav.php');
if(! is_dir('store'))
- mkdir('store',STORAGE_DEFAULT_PERMISSIONS,false);
+ os_mkdir('store',STORAGE_DEFAULT_PERMISSIONS,false);
$which = null;
if(argc() > 1)
diff --git a/mod/setup.php b/mod/setup.php
index 7932d67af..ad5394335 100755
--- a/mod/setup.php
+++ b/mod/setup.php
@@ -527,7 +527,7 @@ function check_store(&$checks) {
$status = true;
$help = "";
- @mkdir('store',STORAGE_DEFAULT_PERMISSIONS);
+ @os_mkdir('store',STORAGE_DEFAULT_PERMISSIONS);
if( !is_writable('store') ) {