Changeset 603


Ignore:
Timestamp:
Sep 29, 2009, 12:26:33 PM (12 years ago)
Author:
Matthäus Wander
Message:

modified download php to read refresh url automatically

Location:
trunk/CrypCurrentVersionDownload
Files:
1 deleted
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/CrypCurrentVersionDownload/index.php

    r600 r603  
    1 <html>
    2 <head>
    3  <meta http-equiv="Content-Type" content="text/html;charset=utf-8">
    4  <meta http-equiv="refresh" content="1; URL=http://cryptool2.vs.uni-due.de/downloads/program/curversion/CrypTool-Setup-v2.0.3554b(beta).msi">
    5 </head>
    6 <body>
    71<?php
    82$config_file = 'CurrentVersion.txt';
     
    2216    }
    2317    fclose($fp);
    24 } else echo "No such file: " . $config_file;
     18} else {
     19        echo "<html><body>No such file: " . $config_file . "</body></html>";
     20        exit(1);
     21}
    2522
    2623?>
     24<html>
     25<head>
     26 <meta http-equiv="Content-Type" content="text/html;charset=utf-8">
     27 <meta http-equiv="refresh" content="1; URL=http://cryptool2.vs.uni-due.de/downloads/program/curversion/CrypTool-Setup-v<?php echo $config_values['version'];?>.msi">
     28</head>
     29<body>
    2730If your download doesn't start now, click <a href="<?php echo 'http://cryptool2.vs.uni-due.de/downloads/program/curversion/CrypTool-Setup-v' . $config_values['version'] . '.msi';?>">here</a>.
    2831
Note: See TracChangeset for help on using the changeset viewer.