File API Bugfix

This commit is contained in:
Celine
2021-01-09 23:34:45 +01:00
parent 4fa8c7bf80
commit 9d52ec1832
5 changed files with 1796 additions and 3078 deletions

View File

@@ -29,7 +29,7 @@ class file_api extends DatabaseScript {
->addRow("File/CreateUploadToken", array(USER_GROUP_ADMIN), "Allows users to create a token to upload files to the virtual filesystem assigned to the users account")
->addRow("File/CreateDownloadToken", array(USER_GROUP_ADMIN), "Allows users to create a token to download files from the virtual filesystem assigned to the users account");
$queries[] = $sql->, array("request", "action", "target", "extra"))
$queries[] = $sql->insert("Route", array("request", "action", "target", "extra"))
->onDuplicateKeyStrategy(new UpdateStrategy(array("request"), array("request" => new Column("request"))))
->addRow("^/files(/.*)?$", "dynamic", "\\Documents\\Files", NULL);