Fix Error 404 not found file download

This commit is contained in:
iqbal rifai 2018-06-14 13:51:40 +02:00
parent 8e91c1242c
commit dc0f3eda3d
1 changed files with 2 additions and 2 deletions

View File

@ -47,10 +47,10 @@ if($_GET[id]) {
if($copy[id]) {
echo "
<meta http-equiv=\"refresh\" content=\"5;URL='https://docs.google.com/uc?id=$copy[id]'\" />
<meta http-equiv=\"refresh\" content=\"5;URL='https://drive.google.com/file/d/$copy[id]/view'\" />
<div style=\"padding: 50px 15px;text-align: center;background-color: #fff;\">
<h2>Thank you for downloading!</h2><br />
If your download doesn't start automatically within a few seconds, <a href=\"https://docs.google.com/uc?id=$copy[id]\">click here</a>.
If your download doesn't start automatically within a few seconds, <a href=\"https://drive.google.com/file/d/$copy[id]/view\">click here</a>.
</div>";
} else {