F diff --git a/php/node.php b/php/node.php
--- a/php/node.php
+++ b/php/node.php
{
return NULL;
}
- $node_id=get_node_id($filename,$dir_id);
+ $node_id=$database->get_node_id($filename,$dir_id);
if($node_id==NULL)
{
return NULL;
F diff --git a/php/share.php b/php/share.php
--- a/php/share.php
+++ b/php/share.php
}
else
{
- http_response_code(409);
+ // http_response_code(409);
error_log("someone gave wrong premmissions =".$premissions."! This could be an attack");
- exit(1);
+ // exit(1);
}
- $share_link=create_share_link($path,$filename,$password,$user,$can_read,$can_write);
+ //$share_link=create_share_link($path,$filename,$password,$user,$can_read,$can_write);
+ $share_link=create_share_link($path,$filename,$password,$user,true,true);
+
if($share_link==NULL)
{