Skip to content
Snippets Groups Projects
Commit 71f9a6c0 authored by Robin Appelman's avatar Robin Appelman
Browse files

dont throw errors when opening a dir using fopen over the smb streamwrapper

parent b8a6ffe2
No related branches found
No related tags found
No related merge requests found
......@@ -166,6 +166,8 @@ class smb {
return false;
}elseif(substr($regs[0],0,31)=='NT_STATUS_OBJECT_PATH_NOT_FOUND'){
return false;
}elseif(substr($regs[0],0,29)=='NT_STATUS_FILE_IS_A_DIRECTORY'){
return false;
}
trigger_error($regs[0].' params('.$params.')', E_USER_ERROR);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment