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:
parent
b0caa55563
commit
9ee7d0b718
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue