diff --git a/index.php b/index.php index 6607b26..0147805 100644 --- a/index.php +++ b/index.php @@ -123,6 +123,11 @@ Function print_build($current, $next, $buildNr, $chan)           Build Log"; } + if ($current->win64_file) { + print "
\"Download Windows (64 bit) +  Build Log"; + } + if ($current->linux_file) { print "
\"Download Linux (32 bit)"; if (file_exists($current->linux_file . ".log")) { @@ -142,7 +147,7 @@ Function print_build($current, $next, $buildNr, $chan) if ($current->osx_file) { print "
\"Download Mac OS X"; if (file_exists($current->osx_file . ".log")) { - print "            Build Log"; + print "             Build Log"; } } @@ -207,6 +212,9 @@ if ($res = $DB->query(kl_str_sql("select * from builds where chan=!s $where orde $file = "{$chan}_" . str_replace(".", "-", $build->version) . "_Setup.exe"; $build->file = file_exists($file) ? $file : false; + $win64_file = "{$chan}_" . str_replace(".", "-", $build->version) . "_x86-64_Setup.exe"; + $build->win64_file = file_exists($win64_file) ? $win64_file : false; + $linux_file = "{$chan}-i686-{$build->version}.tar.bz2"; $build->linux_file = file_exists($linux_file) ? $linux_file : false;