mirror of
https://git.code.sf.net/p/quake/website
synced 2025-04-08 08:40:53 +00:00
create a fileUpdated function and use it :)
This commit is contained in:
parent
3d70d0365d
commit
174e09109c
1 changed files with 8 additions and 3 deletions
11
files.php
11
files.php
|
@ -46,6 +46,11 @@
|
|||
|
||||
}
|
||||
}
|
||||
function fileUpdated ($file)
|
||||
{
|
||||
$ftime = filemtime ($file);
|
||||
echo " Updated " . gmdate ("d M Y g:ia", $ftime) . " UTC";
|
||||
}
|
||||
?>
|
||||
|
||||
<P>QuakeForge and <A href="#quake2">Quake2Forge</A> are always in constant
|
||||
|
@ -178,8 +183,7 @@ very few people on Windows would be able to play. <STRONG>:)</STRONG>
|
|||
</LI>
|
||||
<LI>Win32 binaries (Made with <A href="http://www.mingw.org/">MinGW</A> (GCC) in Linux)
|
||||
<?
|
||||
$ftime = filemtime ("files/qf-win32-server.zip");
|
||||
echo " Updated " . gmdate ("d M Y g:ia", $ftime) . " UTC";
|
||||
fileUpdated ("files/qf-win32-server.zip");
|
||||
echo " <UL>";
|
||||
echo " <LI>SDL (software) client ";
|
||||
fileDownloadLink("files/qf-win32-client-sdl", "zip");
|
||||
|
@ -206,7 +210,8 @@ very few people on Windows would be able to play. <STRONG>:)</STRONG>
|
|||
?>
|
||||
</LI>
|
||||
<LI>qwprogs.dat for the server. Uses QuakeForge specific features.
|
||||
<?fileDownloadLink("files/qwprogs.dat", "gz zip");?>
|
||||
<?fileUpdated ("files/qf-win32-server.zip");
|
||||
fileDownloadLink("files/qwprogs.dat", "gz zip");?>
|
||||
</LI>
|
||||
</UL>
|
||||
|
||||
|
|
Loading…
Reference in a new issue