From 2aff55b50d95d7d1cdebe48e2d8e9cfa59048bd7 Mon Sep 17 00:00:00 2001 From: Trygve Date: Fri, 31 Oct 2025 01:45:41 +0100 Subject: [PATCH] aaaaaaaa --- admin.php | 6 +++--- api/config.php | 2 +- api/email.php | 2 +- api/is_authorized.php | 7 +++---- api/passing.php | 2 +- api/runner.php | 2 +- config_editor.html | 6 +++--- db_editor.html | 6 +++--- matpost_nedtelling.php | 4 ++-- registrering.php | 6 +++--- 10 files changed, 21 insertions(+), 22 deletions(-) diff --git a/admin.php b/admin.php index 7fcca5e..6098f7b 100644 --- a/admin.php +++ b/admin.php @@ -33,10 +33,10 @@
  • ⏱️ Registrer passering på matpost/mål
  • 👥 Endre løperbase
  • ⚙️ Konfigurasjon
  • -
  • ⏳️ Nedtelling matpost +
  • ⏳️ Nedtelling matpost -
  • 1. mat
  • -
  • 2. mat
  • +
  • 1. mat
  • +
  • 2. mat
  • diff --git a/api/config.php b/api/config.php index 6f8663e..340c658 100644 --- a/api/config.php +++ b/api/config.php @@ -18,7 +18,7 @@ function write_ini_file($assoc_array, $path) { $config = parse_ini_file("$documentRoot/data/config.ini"); -$hash = file_get_contents("$documentRoot/data/hash.txt"); +include("$documentRoot/data/hash.php"); $method = $_SERVER['REQUEST_METHOD']; if ($method == "POST") { $start_time = $_POST['start_time']; diff --git a/api/email.php b/api/email.php index f13f743..73a4539 100644 --- a/api/email.php +++ b/api/email.php @@ -1,7 +1,7 @@ ⏱️ Registrer passering på matpost/mål
  • 👥 Endre løperbase
  • ⚙️ Konfigurasjon
  • -
  • ⏳️ Nedtelling matpost +
  • ⏳️ Nedtelling matpost -
  • 1. mat
  • -
  • 2. mat
  • +
  • 1. mat
  • +
  • 2. mat
  • diff --git a/db_editor.html b/db_editor.html index 484c6b4..5494004 100644 --- a/db_editor.html +++ b/db_editor.html @@ -19,10 +19,10 @@
  • ⏱️ Registrer passering på matpost/mål
  • 👥 Endre løperbase
  • ⚙️ Konfigurasjon
  • -
  • ⏳️ Nedtelling matpost +
  • ⏳️ Nedtelling matpost -
  • 1. mat
  • -
  • 2. mat
  • +
  • 1. mat
  • +
  • 2. mat
  • diff --git a/matpost_nedtelling.php b/matpost_nedtelling.php index 2a5e4a6..9d423c9 100644 --- a/matpost_nedtelling.php +++ b/matpost_nedtelling.php @@ -50,8 +50,8 @@
  • ⚙️ Konfigurasjon
  • ⏳️ Nedtelling matpost -
  • 1. mat
  • -
  • 2. mat
  • +
  • 1. mat
  • +
  • 2. mat
  • diff --git a/registrering.php b/registrering.php index b1d3a28..9b0d50b 100644 --- a/registrering.php +++ b/registrering.php @@ -53,10 +53,10 @@
  • ⏱️ Registrer passering på matpost/mål
  • 👥 Endre løperbase
  • ⚙️ Konfigurasjon
  • -
  • ⏳️ Nedtelling matpost +
  • ⏳️ Nedtelling matpost -
  • 1. mat
  • -
  • 2. mat
  • +
  • 1. mat
  • +
  • 2. mat