Browse Source

Added comments to clarify the function #258

Tobias Reich 9 years ago
parent
commit
f6875fc9cc
1 changed files with 2 additions and 0 deletions
  1. 2 0
      php/modules/misc.php

+ 2 - 0
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;