diff --git a/index.php b/index.php
index e979ff0..8493b6b 100755
--- a/index.php
+++ b/index.php
@@ -94,6 +94,11 @@ switch ($mode) {
) or die('Could not prepare query');
$query->execute() or die('Could not execute query:
'.mysqli_error($db));
$query->close();
+
+ //Debugging I think?
+ $variables['debug'] = $_SESSION['results'];
+
+
break;
case 'results':
$download = isset($_GET['download']);
@@ -165,5 +170,5 @@ if (!empty ($template)) {
echo $twig->render($template, $variables);
}
else {
- //header('HTTP/1.0 404 Not Found');
+ header('HTTP/1.0 404 Not Found');
}
\ No newline at end of file
diff --git a/views/finish.html.twig b/views/finish.html.twig
index 8285ab9..86c095c 100644
--- a/views/finish.html.twig
+++ b/views/finish.html.twig
@@ -6,4 +6,6 @@
Thank you for your participation.
+ + {% endblock %} \ No newline at end of file diff --git a/views/results.html.twig b/views/results.html.twig index 46031a5..dc42f33 100644 --- a/views/results.html.twig +++ b/views/results.html.twig @@ -35,8 +35,8 @@ +{{ dump(stats) }}+
{{ dump(debug) }}-->