mirror of
https://codeberg.org/icewind/SMB.git
synced 2026-06-03 17:24:07 +02:00
normalize slashes in notify
This commit is contained in:
parent
822f924967
commit
01b61508a7
1 changed files with 1 additions and 1 deletions
|
|
@ -360,7 +360,7 @@ class Share extends AbstractShare {
|
|||
$connection->write($command . PHP_EOL);
|
||||
$connection->read(function ($line) use ($callback, $path) {
|
||||
$code = (int)substr($line, 0, 4);
|
||||
$subPath = substr($line, 5);
|
||||
$subPath = str_replace('\\', '/', substr($line, 5));
|
||||
if ($path === '') {
|
||||
return $callback($code, $subPath);
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue