From 386615976ecc38d60930465d2a805c3a1ac9f3bb Mon Sep 17 00:00:00 2001 From: Skylar Ittner Date: Sun, 8 Apr 2018 16:37:33 -0600 Subject: [PATCH 1/4] Remove test page --- pages.php | 5 ----- pages/test.php | 1 - 2 files changed, 6 deletions(-) delete mode 100644 pages/test.php diff --git a/pages.php b/pages.php index e44646b..c2a1cdb 100644 --- a/pages.php +++ b/pages.php @@ -7,11 +7,6 @@ define("PAGES", [ "navbar" => true, "icon" => "fas fa-home" ], - "test" => [ - "title" => "test", - "navbar" => true, - "icon" => "fas fa-terminal" - ], "404" => [ "title" => "404 error" ] diff --git a/pages/test.php b/pages/test.php deleted file mode 100644 index 5198ff9..0000000 --- a/pages/test.php +++ /dev/null @@ -1 +0,0 @@ -

Test Page

\ No newline at end of file From 814c0dbc0fa23ba0f8ecb0436319dd548841bf64 Mon Sep 17 00:00:00 2001 From: Skylar Ittner Date: Sun, 8 Apr 2018 16:37:46 -0600 Subject: [PATCH 2/4] Fix URL --- lib/iputils.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/iputils.php b/lib/iputils.php index f46c89f..2d03e9a 100644 --- a/lib/iputils.php +++ b/lib/iputils.php @@ -25,7 +25,7 @@ function ip4_in_cidr($ip, $cidr) { * @param string $ip IP to check in IPV6 format * @param string $cidr CIDR netmask * @return boolean true if the IP is in this range, false otherwise. - * @author MW. + * @author MW. */ function ip6_in_cidr($ip, $cidr) { $address = inet_pton($ip); From d193f3df4ac1f5365597ae8561751b466a634d26 Mon Sep 17 00:00:00 2001 From: Skylar Ittner Date: Sun, 8 Apr 2018 16:45:00 -0600 Subject: [PATCH 3/4] Update license --- LICENSE => LICENSE.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename LICENSE => LICENSE.md (96%) diff --git a/LICENSE b/LICENSE.md similarity index 96% rename from LICENSE rename to LICENSE.md index df0407f..3b3de49 100644 --- a/LICENSE +++ b/LICENSE.md @@ -1,4 +1,4 @@ -Copyright (C) 2017 Netsyms Technologies. +Copyright (C) 2018 Netsyms Technologies. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: From 2a0d5bc92bc6f40d73c44ef0e757a67c36cb8c4d Mon Sep 17 00:00:00 2001 From: Skylar Ittner Date: Sun, 8 Apr 2018 20:07:03 -0600 Subject: [PATCH 4/4] Add some more preload headers --- app.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app.php b/app.php index 3f4f432..e36206a 100644 --- a/app.php +++ b/app.php @@ -22,6 +22,8 @@ if (!is_empty($_GET['page'])) { header("Link: ; rel=preload; as=style", false); header("Link: ; rel=preload; as=style", false); header("Link: ; rel=preload; as=style", false); +header("Link: ; rel=preload; as=style", false); +header("Link: ; rel=preload; as=script", false); header("Link: ; rel=preload; as=script", false); header("Link: ; rel=preload; as=script", false); ?>