aboutsummaryrefslogtreecommitdiffstats
path: root/include/security.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2014-01-11 12:58:00 -0800
committerfriendica <info@friendica.com>2014-01-11 12:58:00 -0800
commitcff7056f8ff809251448de269bbc5e13780f35de (patch)
tree75886f1e6f00138b5839acca2f0c9fe375c64420 /include/security.php
parentf125be846c4e0b68bf687eecf12e64512dd40df0 (diff)
downloadvolse-hubzilla-cff7056f8ff809251448de269bbc5e13780f35de.tar.gz
volse-hubzilla-cff7056f8ff809251448de269bbc5e13780f35de.tar.bz2
volse-hubzilla-cff7056f8ff809251448de269bbc5e13780f35de.zip
mod_attach: output stream wasn't working
Diffstat (limited to 'include/security.php')
-rw-r--r--include/security.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/security.php b/include/security.php
index 138efe3ab..a87442d42 100644
--- a/include/security.php
+++ b/include/security.php
@@ -163,6 +163,9 @@ function change_channel($change_channel) {
get_app()->set_observer($x[0]);
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);
+
}
return $ret;