diff --git a/php/modules/Photo.php b/php/modules/Photo.php index eee20b1..764edda 100755 --- a/php/modules/Photo.php +++ b/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) {