F diff --git a/loggedin.js b/loggedin.js
--- a/loggedin.js
+++ b/loggedin.js
- var FORM_ASYNC = false;
+ var FORM_ASYNC = true;
const upload_form = document.getElementById("upload_form");
const the_file = document.getElementById("the_file");
F diff --git a/php/database.php b/php/database.php
--- a/php/database.php
+++ b/php/database.php
return false;
}
}
- function get_home_id($user_id)
- {
- $statement=$this->pdo->prepare("select home_directory
- from users
- where user_id=:id
- ");
- $statement->bindParam(':id',$user_id);
-
- $ret=$statement->execute(PDO::FETCH_ASSOC);
- return $ret["home_directory"];
- }
-
/*returns assoc array*/
function get_nodes_with_name($name)