Skip to content

Commit

Permalink
Fix files_external:notify command when running withing a subdirectory…
Browse files Browse the repository at this point in the history
… of the SMB share

Signed-off-by: Julius Härtl <jus@bitgrid.net>
  • Loading branch information
juliusknorr committed Jan 14, 2021
1 parent b0caa55 commit 9ee7d0b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/files_external/lib/Lib/Notify/SMBNotifyHandler.php
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ class SMBNotifyHandler implements INotifyHandler {
*/
public function __construct(\Icewind\SMB\INotifyHandler $shareNotifyHandler, $root) {
$this->shareNotifyHandler = $shareNotifyHandler;
$this->root = $root;
$this->root = str_replace('\\', '/', $root);
}

private function relativePath($fullPath) {
Expand Down

0 comments on commit 9ee7d0b

Please sign in to comment.