diff --git a/php/modules/misc.php b/php/modules/misc.php index c4d8fd4..3298012 100755 --- a/php/modules/misc.php +++ b/php/modules/misc.php @@ -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;