sha1 instead of md5 #179
This commit is contained in:
parent
7b2414695c
commit
05637e42d8
@ -159,7 +159,7 @@ class Photo extends Module {
|
|||||||
'" . $albumID . "',
|
'" . $albumID . "',
|
||||||
'" . $public . "',
|
'" . $public . "',
|
||||||
'" . $star . "',
|
'" . $star . "',
|
||||||
'" . md5_file($path) . "');";
|
'" . sha1_file($path) . "');";
|
||||||
$result = $this->database->query($query);
|
$result = $this->database->query($query);
|
||||||
|
|
||||||
if (!$result) {
|
if (!$result) {
|
||||||
|
Loading…
Reference in New Issue
Block a user