aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorSergey M․ <[email protected]>2016-07-17 18:45:31 +0700
committerSergey M․ <[email protected]>2016-07-17 18:45:31 +0700
commit167e13273ee8fa59402b504c0d0f4e5676b82076 (patch)
treee744bdc9e46b374eaf016834f5868ae8557e9f66
parent40f283d1590e41c179437e13ec5aeb2256994598 (diff)
downloadyoutube-dl-167e13273ee8fa59402b504c0d0f4e5676b82076.tar.gz
youtube-dl-167e13273ee8fa59402b504c0d0f4e5676b82076.zip
Use latest in download URLs
-rw-r--r--index.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/index.php b/index.php
index ee5af0c20..c4ccc7802 100644
--- a/index.php
+++ b/index.php
@@ -14,9 +14,9 @@ $latest = file_get_contents('latest_version');
echo '<div class="latest">';
echo '<div><a href="latest">Latest</a> (v' . htmlspecialchars($latest) . ') downloads:</div>';
-echo '<a href="downloads/' . htmlspecialchars($latest) . '/youtube-dl">youtube-dl</a> ';
-echo '<a href="downloads/' . htmlspecialchars($latest) . '/youtube-dl.exe">youtube-dl.exe</a> ';
-echo '<a href="downloads/' . htmlspecialchars($latest) . '/youtube-dl-' . htmlspecialchars($latest) . '.tar.gz">youtube-dl-' . htmlspecialchars($latest) . '.tar.gz</a>';
+echo '<a href="downloads/latest/youtube-dl">youtube-dl</a> ';
+echo '<a href="downloads/latest/youtube-dl.exe">youtube-dl.exe</a> ';
+echo '<a href="downloads/latest/youtube-dl-' . htmlspecialchars($latest) . '.tar.gz">youtube-dl-' . htmlspecialchars($latest) . '.tar.gz</a>';
echo '</div>';
?>