add check for tickets on sale

This commit is contained in:
Chris Smith
2019-03-09 21:43:22 -06:00
parent 26b44d653b
commit ae66a1ba6b
3 changed files with 19 additions and 0 deletions

View File

@@ -47,6 +47,7 @@ $router->get('/', function () {
header('Location: /sold-out');
}
checkIfTicketsAreOnSale();
include 'views/common/head.php';
include 'views/family.php';
include 'views/common/footer.php';
@@ -59,6 +60,7 @@ $router->get('/notify', function () {
});
$router->get('/step-1', function () {
checkIfTicketsAreOnSale();
include 'views/common/head.php';
include 'views/step1.php';
include 'views/common/footer.php';