disable prerelease download page
authorChristian Hofstaedtler <ch@grml.org>
Fri, 23 Dec 2011 04:59:01 +0000 (05:59 +0100)
committerMichael Prokop <mika@grml.org>
Fri, 23 Dec 2011 12:25:14 +0000 (13:25 +0100)
download/prerelease/index.php

index 2258b69..89680c3 100644 (file)
@@ -1,3 +1,8 @@
+<?php
+// while there is no prerelease, redirect to stable page
+header("Location: /download/");
+exit;
+?>
 <!DOCTYPE html>
 <html>
 <head>
 
     <h1>Download Grml 2011.12-rc1</h1>
 
-    <!--
-    <p><strong>NOTE:</strong> There is no current pre-release.</p>
-    -->
-
     <p><strong>NOTE: This is a PRE-RELEASE, not a stable release yet.<br />
     You have been warned.</strong><br />
+
     <a href="../">Looking for the stable release version instead?</a></p>
 
     <p>Download the Grml flavour you need, then write it to a CD-R or an empty USB stick.</p>