Browse Source

sha1 instead of md5 #179

Tobias Reich 9 years ago
parent
commit
05637e42d8
1 changed files with 1 additions and 1 deletions
  1. 1 1
      php/modules/Photo.php

+ 1 - 1
php/modules/Photo.php

@@ -159,7 +159,7 @@ class Photo extends Module {
 					'" . $albumID . "',
 					'" . $public . "',
 					'" . $star . "',
-					'" . md5_file($path) . "');";
+					'" . sha1_file($path) . "');";
 			$result = $this->database->query($query);
 
 			if (!$result) {