aboutsummaryrefslogtreecommitdiffstats
path: root/php/database.php
diff options
context:
space:
mode:
authoradam <adam@>2021-02-12 19:54:52 +0200
committeradam <adam@>2021-02-12 19:54:52 +0200
commitaf0c31ec0ebbfabd3f6140b816752ccf96313225 (patch)
treeea9d230d03e82b485c588d424aced2862dbe587f /php/database.php
parentfd807f7df9ab0b3021e071eb0ff4be6e252938a8 (diff)
downloadfileup-af0c31ec0ebbfabd3f6140b816752ccf96313225.tar.gz
mimetype draft
Diffstat (limited to 'php/database.php')
-rw-r--r--php/database.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/php/database.php b/php/database.php
index fb3d35d..f5efec7 100644
--- a/php/database.php
+++ b/php/database.php
@@ -306,7 +306,7 @@ require_once "node.php";
}
}
/*returns the file name as it must be in the filesystem relative to the storage root*/
- function create_file_node(string $filename,string $note,int $dir_id,User $user): string
+ function create_file_node(string $filename,string $note,int $dir_id,string $mimetype,User $user): string
{
global $storage_root;
/*checkout the directory*/