Everything previously under www/src now are under www/ Moved style.CSS under www/ressources, to allow blocking http requests to www/lib completly Moved <head> and <header> generation under lib/PHP/output/sections.php to reduce redundancy within files. Also implemented a system to allow them to generate relatif paht for href to ressources depending on their deepness within www/ hierarchy.
7 lines
216 B
PHP
7 lines
216 B
PHP
<?php
|
|
|
|
// Also serve to distinguish beetwen lurker and noon-lurker access.
|
|
function is_logged_in(): bool
|
|
{
|
|
return (session_status() == PHP_SESSION_ACTIVE && isset($_SESSION['loggedin']) && $_SESSION['loggedin']);
|
|
}
|