Function smf_chmod
Tries different modes to make file/dirs writable. Wrapper function for chmod()
Package: SMF
Copyright: 2020 Simple Machines and individual contributors
License: BSD
Author: Simple Machines https://www.simplemachines.org
Located at Sources/Subs.php
Copyright: 2020 Simple Machines and individual contributors
License: BSD
Author: Simple Machines https://www.simplemachines.org
Located at Sources/Subs.php
string |
$file |
The file/dir full path. |
integer |
$value = 0 |
Not needed, added for legacy reasons. |
boolean
|
true if the file/dir is already writable or the function was able to make it writable, false if the function couldn't make the file/dir writable. |