]> source.dussan.org Git - nextcloud-server.git/commit
Added isLocal() method to storage, used for xsendfile
authorVincent Petry <pvince81@owncloud.com>
Tue, 4 Feb 2014 18:58:49 +0000 (19:58 +0100)
committerVincent Petry <pvince81@owncloud.com>
Thu, 6 Feb 2014 19:53:15 +0000 (20:53 +0100)
commit788c8540aa6aac50795c37b088eeaa561d44b86c
treee20e28f38477c4bf2d6412ee8a77f3eb806b5bff
parentbe47e156a5afee8a20f60d278aab45bb84c282c2
Added isLocal() method to storage, used for xsendfile

Added isLocal() method to Storage to find out whether the storage is
local or not.
This method is used for the x-sendfile logic to find out whether to add
the headers.
lib/private/files.php
lib/private/files/storage/common.php
lib/private/files/storage/local.php
lib/private/files/storage/wrapper/wrapper.php
lib/public/files/storage.php