Added comments to clarify the function #258
This commit is contained in:
parent
3f2a73181a
commit
f6875fc9cc
@ -121,6 +121,8 @@ function get_hashed_password($password) {
|
||||
|
||||
function hasPermissions($path) {
|
||||
|
||||
// Check if the given path is readable and writable
|
||||
// Both functions are also verifying that the path exists
|
||||
if (is_readable($path)===true&&
|
||||
is_writeable($path)===true) return true;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user