mod_attach: output stream wasn't working

This commit is contained in:
friendica
2014-01-11 12:58:00 -08:00
parent f125be846c
commit cff7056f8f
5 changed files with 14 additions and 6 deletions

View File

@@ -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;