Update header.php
authorPatrick McGuire <insidenothing@gmail.com>
Fri, 31 Jul 2020 13:39:59 +0000 (09:39 -0400)
committerGitHub <noreply@github.com>
Fri, 31 Jul 2020 13:39:59 +0000 (09:39 -0400)
header.php

index fa34b28..a40dedc 100644 (file)
@@ -10,6 +10,11 @@ if (isset($_GET['debug'])){
     header('Location: index.php'); 
   }
 }  
+if (isset($_GET['form_version'])){
+  if ($_GET['form_version'] == '2'){ 
+    setcookie("form_version", '2'); 
+  } 
+}  
 global $time_on_site;
 if (empty($_COOKIE['start_time'])){
   setcookie("start_time", time());