Skip to content
Snippets Groups Projects
Commit 866d01f5 authored by Jakob Sack's avatar Jakob Sack
Browse files

Merge branch 'refactoring' of git://anongit.kde.org/owncloud into refactoring

parents 43646dbf bc7d6a9d
No related branches found
No related tags found
No related merge requests found
<?php
$RUNTIME_NOAPPS=true; //no need to load the apps
$RUNTIME_NOSETUPFS=true; //don't setup the fs yet
require_once '../../lib/base.php';
......
......@@ -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.
Finish editing this message first!
Please register or to comment