summaryrefslogtreecommitdiffstats
path: root/lib/files/storage/local.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/files/storage/local.php')
-rw-r--r--lib/files/storage/local.php7
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/files/storage/local.php b/lib/files/storage/local.php
index a5db4ba9194..9fe01135866 100644
--- a/lib/files/storage/local.php
+++ b/lib/files/storage/local.php
@@ -8,6 +8,10 @@
namespace OC\Files\Storage;
+if (\OC_Util::runningOnWindows()) {
+ require_once 'mappedlocal.php';
+} else {
+
/**
* for local filestore, we only have to map the paths
*/
@@ -19,6 +23,8 @@ class Local extends \OC\Files\Storage\Common{
$this->datadir.='/';
}
}
+ public function __destruct() {
+ }
public function getId(){
return 'local::'.$this->datadir;
}
@@ -245,3 +251,4 @@ class Local extends \OC\Files\Storage\Common{
return $this->filemtime($path)>$time;
}
}
+}