diff options
author | friendica <info@friendica.com> | 2014-07-16 01:07:00 -0700 |
---|---|---|
committer | friendica <info@friendica.com> | 2014-07-16 01:07:00 -0700 |
commit | 3a31ddea2b516cebe60c6ac096516db8df101fd0 (patch) | |
tree | 55ff5e01ec3035b0a8ade9e0731bd7d1b51e7794 /include/security.php | |
parent | 0435a08f3bafe47e0fe0cda6e698f93a5fab26e6 (diff) | |
download | volse-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 'include/security.php')
-rw-r--r-- | include/security.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/security.php b/include/security.php index aaf4eb050..2ccfc6973 100644 --- a/include/security.php +++ b/include/security.php @@ -96,7 +96,7 @@ function change_channel($change_channel) { get_app()->set_perms(get_all_perms(local_user(),$hash)); } if(! is_dir('store/' . $r[0]['channel_address'])) - @mkdir('store/' . $r[0]['channel_address'], STORAGE_DEFAULT_PERMISSIONS,true); + @os_mkdir('store/' . $r[0]['channel_address'], STORAGE_DEFAULT_PERMISSIONS,true); } |