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

This commit is contained in:
Jakob Sack 2011-04-18 09:31:42 +02:00
commit 866d01f50d
2 changed files with 2 additions and 4 deletions

View File

@ -1,5 +1,6 @@
<?php
$RUNTIME_NOAPPS=true; //no need to load the apps
$RUNTIME_NOSETUPFS=true; //don't setup the fs yet
require_once '../../lib/base.php';

View File

@ -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);