Skip to content
Snippets Groups Projects
Commit f82946c6 authored by Robin Appelman's avatar Robin Appelman
Browse files

pass the user to setupFS

parent 8c5831d9
No related branches found
No related tags found
No related merge requests found
......@@ -38,11 +38,8 @@ class OC_PublicLink{
$path=$data[0]['path'];
$user=$data[0]['user'];
//login
$_SESSION['user_id']=$user;
//prepare the filesystem
OC_UTIL::setupFS();
OC_UTIL::setupFS($user);
//get time mimetype and set the headers
$mimetype=OC_FILESYSTEM::getMimeType($path);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment