sha1 instead of md5 #179

This commit is contained in:
Tobias Reich 2014-07-20 15:32:54 +02:00
parent 7b2414695c
commit 05637e42d8

View File

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