basic "get latest file" php script.
This commit is contained in:
@@ -22,7 +22,7 @@
|
|||||||
<body>
|
<body>
|
||||||
<div id="main">
|
<div id="main">
|
||||||
<div id="links">
|
<div id="links">
|
||||||
<a id="download" href="http://open-ra.org/releases/windows/"></a>
|
<a id="download" href="http://open-ra.org/releases/windows/latest.php"></a>
|
||||||
<a id="contrib" href="http://github.com/chrisforbes/OpenRA"></a>
|
<a id="contrib" href="http://github.com/chrisforbes/OpenRA"></a>
|
||||||
<a id="discuss" href="irc://irc.freenode.org/openra"></a>
|
<a id="discuss" href="irc://irc.freenode.org/openra"></a>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
4
web/releases/windows/latest.php
Normal file
4
web/releases/windows/latest.php
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
<?php
|
||||||
|
$latest = "OpenRA-20100425.exe";
|
||||||
|
header("Location: $latest");
|
||||||
|
?>
|
||||||
Reference in New Issue
Block a user