We are no longer offering accounts on this server. Consider https://gitlab.freedesktop.org/ as a place to host projects.

Commit bce24944 authored by clint's avatar clint

"future-proofing"

parent c796b89e
......@@ -99,6 +99,10 @@ for($i = 0; $i < count($_POST['a']); $i++) {
$length = 'NULL';
}
if(($timestamp - time()) > 600) {
die("FAILED Submitted track has timestamp in the future\n"); // let's try a 10-minute tolerance
}
createArtistIfNew($artist);
if($album != 'NULL') {
createAlbumIfNew($artist, $album);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment