Repos header
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user