diff options
author | Sergey M․ <[email protected]> | 2016-07-17 18:45:31 +0700 |
---|---|---|
committer | Sergey M․ <[email protected]> | 2016-07-17 18:45:31 +0700 |
commit | 167e13273ee8fa59402b504c0d0f4e5676b82076 (patch) | |
tree | e744bdc9e46b374eaf016834f5868ae8557e9f66 | |
parent | 40f283d1590e41c179437e13ec5aeb2256994598 (diff) | |
download | youtube-dl-167e13273ee8fa59402b504c0d0f4e5676b82076.tar.gz youtube-dl-167e13273ee8fa59402b504c0d0f4e5676b82076.zip |
Use latest in download URLs
-rw-r--r-- | index.php | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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>'; ?> |