Repos header
This commit is contained in:
1 parent
0da314a31d
commit
c62321f854
8 files changed
+11
-16
No files matched your search
@@ -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