win_is_writable
win_is_writable ( $path )
Parameters:- (string) path Windows path to check for write-ability.
See:Returns:- (bool) Whether the path is writable.
Defined at: - Introduced in WordPress: 2.8.0
- Deprecated in WordPress: —
Description
Workaround for Windows bug in is_writable() functionPHP has issues with Windows ACL's for determine if a
directory is writable or not, this works around them by
checking the ability to open files rather than relying
upon PHP to interpret the OS ACL.