]> git.p6c8.net - jirafeau/pcanterino.git/blobdiff - script.php
fixed script md5 -> sha256
[jirafeau/pcanterino.git] / script.php
index ae574494bf2165f2698c96b06b4f28773be762db..d28bc02f2dd3f7cb6bad73528a9409f2cb37b821 100644 (file)
@@ -183,7 +183,7 @@ if (isset($_FILES['file']) && is_writable(VAR_FILES)
         echo 'Error 9';
         exit;
     }
-    if (strlen($link['key']) > 0 && md5($key) != $link['key']) {
+    if (strlen($link['key']) > 0 && hash('sha256',$key) != $link['key']) {
         sleep(2);
         echo 'Error 10';
         exit;

patrick-canterino.de