Some client side stats and platform detection + updates to server side script to support download stats.

This commit is contained in:
Matthew Bowra-Dean
2010-05-03 14:04:42 +12:00
committed by Chris Forbes
parent 3f6963dc2c
commit 4ddc63f6bf
4 changed files with 76 additions and 26 deletions

View File

@@ -1,4 +1,7 @@
<?php
$latest = "OpenRA-20100425.exe";
header("Location: $latest");
?>
<?php
$latest = "OpenRA-20100425.exe";
header("Location: $latest");
$file = file_get_contents("../../downloads.txt");
$new_downloads = $file + 1;
file_put_contents("../../downloads.txt", $new_downloads);
?>