From 3a31ddea2b516cebe60c6ac096516db8df101fd0 Mon Sep 17 00:00:00 2001 From: friendica Date: Wed, 16 Jul 2014 01:07:00 -0700 Subject: provide os_mkdir to workaround permission issues with php mkdir --- install/update.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'install') 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 -- cgit v1.2.3