Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Nextcloud
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Monitor
Service Desk
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
TeDomum
Nextcloud
Commits
e52ab59b
Commit
e52ab59b
authored
12 years ago
by
Robin Appelman
Browse files
Options
Downloads
Patches
Plain Diff
Revert "use readfile() instead iof fopen() for file download over webdav."
This reverts commit
9af74a9c
.
parent
10bf36a6
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
lib/connector/sabre/file.php
+1
-1
1 addition, 1 deletion
lib/connector/sabre/file.php
with
1 addition
and
1 deletion
lib/connector/sabre/file.php
+
1
−
1
View file @
e52ab59b
...
@@ -42,7 +42,7 @@ class OC_Connector_Sabre_File extends OC_Connector_Sabre_Node implements Sabre_D
...
@@ -42,7 +42,7 @@ class OC_Connector_Sabre_File extends OC_Connector_Sabre_Node implements Sabre_D
*/
*/
public
function
get
()
{
public
function
get
()
{
return
OC_Filesystem
::
readfile
(
$this
->
path
);
return
OC_Filesystem
::
fopen
(
$this
->
path
,
'r'
);
}
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment