Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/CarnetApp/CarnetNextcloud.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhie <phie@phie.ovh>2019-03-07 19:53:33 +0300
committerPhie <phie@phie.ovh>2019-03-07 19:53:33 +0300
commit016665e9d74d63adc0f76e72ec0746267b3337d2 (patch)
tree85f93aa0ec0e49af89bc88e22b016831948388ce /lib/Hooks/FSHooks.php
parent57fc475621f65534c1786b5020a66efab6144895 (diff)
quick fix + bump 0.13.1vv0.13.1
Diffstat (limited to 'lib/Hooks/FSHooks.php')
-rw-r--r--lib/Hooks/FSHooks.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Hooks/FSHooks.php b/lib/Hooks/FSHooks.php
index 45d902d..51c036b 100644
--- a/lib/Hooks/FSHooks.php
+++ b/lib/Hooks/FSHooks.php
@@ -31,7 +31,7 @@ class FSHooks {
if(substr($node->getName(), -3) === "sqd"){ // to avoid getting carnet's path each time a file is writen
//we check if is in our path
- if(substr($node->getPath(), 0, strlen($this->folder)) === $this->folder){
+ if(substr($node->getPath(), 0, strlen($this->carnetFolder->getPath())) === $this->carnetFolder->getPath()){
$relativePath = substr($node->getPath(), strlen($this->carnetFolder->getPath()));
if(substr($relativePath, 0, 1) === "/")
$relativePath = substr($relativePath, 1);