summaryrefslogtreecommitdiff
path: root/www/functions
diff options
context:
space:
mode:
Diffstat (limited to 'www/functions')
-rw-r--r--www/functions/func_folder.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/www/functions/func_folder.php b/www/functions/func_folder.php
index 376cdd6..7a2233b 100644
--- a/www/functions/func_folder.php
+++ b/www/functions/func_folder.php
@@ -17,6 +17,8 @@ function create_folder($path, $new_folder_name, $share){
return MKDIR_OWNER;
}
+// echo "path: ".$path." file_id: ".$file_id." userid: ".$_SESSION['userid']." new_folder_name: ".$new_folder_name." share: ".$share."<br>"; exit;
+
if($db->exec("
BEGIN TRANSACTION;
INSERT INTO files (id, parent, owner, name, folder, size, share, hash) VALUES (Null, " . $file_id . ", " . $_SESSION['userid'] . ", '" . SQLite3::escapeString($new_folder_name) . "', 'DIRECTORY', 0, '" . SQLite3::escapeString($share) . "', '');