diff options
| author | ilotterytea <iltsu@alright.party> | 2025-08-18 11:23:11 +0500 |
|---|---|---|
| committer | ilotterytea <iltsu@alright.party> | 2025-08-18 11:23:11 +0500 |
| commit | 88251f1affcdfb9336c843d03746115110b503c6 (patch) | |
| tree | 0a4bbfc4595a039c0dae6b2f62038b4a727333e2 | |
| parent | d3f06ef7ce62a632c3f3323f1877729b5be8aca6 (diff) | |
upd: start session in partials.php
| -rw-r--r-- | lib/partials.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/partials.php b/lib/partials.php index 89ce1cf..afa8304 100644 --- a/lib/partials.php +++ b/lib/partials.php @@ -1,7 +1,8 @@ <?php +session_start(); + function html_navbar() { - session_start(); $user = $_SESSION['user'] ?? null; echo '' ?> <header> |
