From 1316fcf6d9a43be16d599d5b9cd704bbe3d0b0dc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?s=C3=B8renpeter?= Date: Fri, 6 Dec 2024 17:24:50 +0100 Subject: [PATCH] Add VERSION and private/cache/.gitkeep --- VERSION | 1 + libs/twtxt.php | 2 +- private/cache/.gitkeep | 0 3 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 VERSION create mode 100644 private/cache/.gitkeep diff --git a/VERSION b/VERSION new file mode 100644 index 0000000..d4b68c1 --- /dev/null +++ b/VERSION @@ -0,0 +1 @@ +2024-12-06 diff --git a/libs/twtxt.php b/libs/twtxt.php index c5f9b4b..f3cbec9 100644 --- a/libs/twtxt.php +++ b/libs/twtxt.php @@ -10,7 +10,7 @@ if ($config['debug_mode']) { error_reporting(E_ALL); } -$agentVersion = trim(file_get_contents('./version.txt')); +$agentVersion = trim(file_get_contents('./VERSION')); class TwtxtFile { public $mainURL = ''; // First found URL diff --git a/private/cache/.gitkeep b/private/cache/.gitkeep new file mode 100644 index 0000000..e69de29