From 05637e42d8e5e7473fbbb46d2fc362e5d82894b9 Mon Sep 17 00:00:00 2001 From: Tobias Reich Date: Sun, 20 Jul 2014 15:32:54 +0200 Subject: [PATCH] sha1 instead of md5 #179 --- php/modules/Photo.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) {