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

remotes/origin/stable4
Robin Appelman 13 years ago
parent b8a6ffe261
commit 71f9a6c093
  1. 2
      3rdparty/smb4php/smb.php

@ -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);
}

Loading…
Cancel
Save