I have an issue. I have got a template file (template_body.php) being included in an index.php (include_once("include/template_body.php");)
in template_body.php i have got another file included called header.php (include("header.php"))
index.php -> template_body.php --> header.php
Now, in index.php i have got a boolean login check. But i can only access the boolean value in template_body.php and not in header.php .
Any way to achieve that?