Repos header

This commit is contained in:
2024-05-31 12:49:47 +02:00
parent 0da314a31d
commit c62321f854
8 changed files with 11 additions and 16 deletions
+1 -2
View File
@@ -12,6 +12,7 @@
// PHP
include_once "../../base/settings.php";
include_once "../../base/headers.php";
Headers::html();
$fh = fopen("./data/counter.txt", "r+");
if (flock($fh, LOCK_EX)) {
@@ -27,8 +28,6 @@
}
flock($fh, LOCK_UN);
fclose($fh);
Headers::html();
?>
<h1>Visitor count: <?= $cnt ?></h1>
</body>