Added comments to clarify the function #258

This commit is contained in:
Tobias Reich 2014-11-06 21:31:21 +01:00
parent 3f2a73181a
commit f6875fc9cc

View File

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