switched to php finfo for mimetype

This commit is contained in:
Alex Crivion
2025-02-05 22:41:42 +02:00
parent 34adca20d5
commit fcccf5a810
3 changed files with 22 additions and 17 deletions

View File

@@ -43,7 +43,7 @@ class FilemanagerController extends Controller
public function getFileContents(Request $r)
{
return (new GetFileContentsAction($this->filesystem))->execute($r);
return (new GetFileContentsAction($this->filesystem, $this->path))->execute($r);
}
public function createFile(Request $r)