Fix files_external:notify command when running withing a subdirectory of the SMB share

Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
Julius Härtl 2021-01-14 16:53:02 +01:00
parent b0caa55563
commit 9ee7d0b718
No known key found for this signature in database
GPG Key ID: 4C614C6ED2CDE6DF
1 changed files with 1 additions and 1 deletions

View File

@ -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) {