From 4f6ba30afe8817a403e516a4e0f0e36e210e616a Mon Sep 17 00:00:00 2001 From: Skylar Ittner Date: Wed, 23 May 2018 11:41:28 -0600 Subject: [PATCH] Make Point of Sale the default page --- pages.php | 2 +- pages/home.php | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/pages.php b/pages.php index c27e0bc..53a85e1 100644 --- a/pages.php +++ b/pages.php @@ -8,7 +8,7 @@ define("PAGES", [ "home" => [ "title" => "home", - "navbar" => true, + "navbar" => false, "icon" => "fas fa-home" ], "pos" => [ diff --git a/pages/home.php b/pages/home.php index 60a107f..2426c81 100644 --- a/pages/home.php +++ b/pages/home.php @@ -2,4 +2,7 @@ /* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ + +header("Location: app.php?page=pos"); +die(); ?>