diff --git a/VERSION b/VERSION
index d4b68c1..a22da3b 100644
--- a/VERSION
+++ b/VERSION
@@ -1 +1 @@
-2024-12-06
+2024.12.06
diff --git a/libs/twtxt.php b/libs/twtxt.php
index f3cbec9..bebbff2 100644
--- a/libs/twtxt.php
+++ b/libs/twtxt.php
@@ -331,7 +331,7 @@ function updateCachedFile($filePath) {
$lastModifiedTime = file_exists($cacheFilePath) ? filemtime($cacheFilePath) : false;
$lastModifiedHeader = $lastModifiedTime ? gmdate('D, d M Y H:i:s', $lastModifiedTime) . ' GMT' : null;
- # echo "lastModifiedHeader: $lastModifiedHeader
\n";
+ #echo "lastModifiedHeader: $lastModifiedHeader
\n";
global $config;
global $agentVersion;
@@ -349,6 +349,10 @@ function updateCachedFile($filePath) {
}
# TODO: Add a validation for the nickname. For example at least 1 character.
+ // if ($nick === "") {
+ // die("Check your config.ini file. 'public_nick' not valid");
+ // }
+
$agentName = 'timeline';
$userAgentHeader = "User-Agent: $agentName/$agentVersion (+$url; @$nick)\r\n";