mirror of
https://github.com/sorenpeter/timeline.git
synced 2025-12-15 10:57:01 +00:00
Version with dots instead of dashes
This commit is contained in:
parent
1316fcf6d9
commit
8ba2513841
2 changed files with 6 additions and 2 deletions
2
VERSION
2
VERSION
|
|
@ -1 +1 @@
|
|||
2024-12-06
|
||||
2024.12.06
|
||||
|
|
|
|||
|
|
@ -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<br>\n";
|
||||
#echo "lastModifiedHeader: $lastModifiedHeader<br>\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";
|
||||
|
|
|
|||
Loading…
Reference in a new issue